Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/matplotlib/pyplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -946,9 +946,9 @@ def figure(
figsize : (float, float) or (float, float, str), default: :rc:`figure.figsize`
The figure dimensions. This can be

- a tuple ``(width, height, unit)``, where *unit* is one of "inch", "cm",
- a tuple ``(width, height, unit)``, where *unit* is one of "in", "cm",
"px".
- a tuple ``(x, y)``, which is interpreted as ``(x, y, "inch")``.
- a tuple ``(x, y)``, which is interpreted as ``(x, y, "in")``.

One of *width* or *height* may be ``None``; the respective value is taken
from :rc:`figure.figsize`.
Expand Down
Loading