Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c8d7d6b

Browse filesBrowse 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
Copy full SHA for c8d7d6b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎lib/matplotlib/figure.py‎

Copy file name to clipboardExpand all lines: lib/matplotlib/figure.py
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.