8000 DOC: Original documentation was misleading · matplotlib/matplotlib@c8d7d6b · GitHub
[go: up one dir, main page]

Skip to content

Commit c8d7d6b

Browse files
authored
DOC: Original documentation was misleading
Doing `figure.add_axes([0, 1, 0, 1])` would create axes that are in the upper left corner with width zero.
1 parent 58a8334 commit c8d7d6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ def figimage(self, X,
649649
(:meth:`~matplotlib.axes.Axes.imshow`) which will be resampled
650650
to fit the current axes. If you want a resampled image to
651651
fill the entire figure, you can define an
652-
:class:`~matplotlib.axes.Axes` with size [0,1,0,1].
652+
:class:`~matplotlib.axes.Axes` with extent [0,0,1,1].
653653
654654
An :class:`matplotlib.image.FigureImage` instance is returned.
655655

0 commit comments

Comments
 (0)
0