8000 Merge pull request #13212 from monocongo/master · matplotlib/matplotlib@a2e2acf · GitHub
[go: up one dir, main page]

Skip to content

Commit a2e2acf

Browse files
authored
Merge pull request #13212 from monocongo/master
Updated the docstring for pyplot.figure to list floats as the type for figsize argument
2 parents 55e504b + 5f6f096 commit a2e2acf

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
@@ -432,7 +432,7 @@ def figure(num=None, # autoincrement if None, else integer from 1-N
432432
If num is a string, the window title will be set to this figure's
433433
`num`.
434434
435-
figsize : tuple of integers, optional, default: None
435+
figsize : (float, float), optional, default: None
436436
width, height in inches. If not provided, defaults to
437437
:rc:`figure.figsize` = ``[6.4, 4.8]``.
438438

0 commit comments

Comments
 (0)
0