Skip to content

Commit c2604bd

Browse files
authored
Merge pull request matplotlib#32087 from CayenneMatt/main
DOC: Fixing typo in units documentation for pyplot figuresize units
2 parents a4e6ea1 + 4d2edb4 commit c2604bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -943,9 +943,9 @@ def figure(
943943
figsize : (float, float) or (float, float, str), default: :rc:`figure.figsize`
944944
The figure dimensions. This can be
945945
946-
- a tuple ``(width, height, unit)``, where *unit* is one of "inch", "cm",
946+
- a tuple ``(width, height, unit)``, where *unit* is one of "in", "cm",
947947
"px".
948-
- a tuple ``(x, y)``, which is interpreted as ``(x, y, "inch")``.
948+
- a tuple ``(x, y)``, which is interpreted as ``(x, y, "in")``.
949949
950950
One of *width* or *height* may be ``None``; the respective value is taken
951951
from :rc:`figure.figsize`.

0 commit comments

Comments
 (0)