Skip to content

Commit 6bf7a2b

Browse files
authored
Merge pull request #13215 from meeseeksmachine/auto-backport-of-pr-13212-on-v3.0.x
Backport PR #13212 on branch v3.0.x (Updated the docstring for pyplot.figure to list floats as the type for figsize argument)
2 parents 045e3a6 + 7441bc2 commit 6bf7a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def figure(num=None, # autoincrement if None, else integer from 1-N
429429
If num is a string, the window title will be set to this figure's
430430
`num`.
431431
432-
figsize : tuple of integers, optional, default: None
432+
figsize : (float, float), optional, default: None
433433
width, height in inches. If not provided, defaults to
434434
:rc:`figure.figsize` = ``[6.4, 4.8]``.
435435

0 commit comments

Comments
 (0)