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

Skip to content

Commit 59d2df7

Browse files
authored
Merge pull request #14464 from ngoldbaum/imshow-origin-doc
Mention origin and extent tutorial in API docs for origin kwarg
2 parents 0bc9ca2 + 2ac762a commit 59d2df7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5519,6 +5519,9 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
55195519
Note that the vertical axes points upward for 'lower'
55205520
but downward for 'upper'.
55215521
5522+
See the :doc:`/tutorials/intermediate/imshow_extent` tutorial for
5523+
examples and a more detailed description.
5524+
55225525
extent : scalars (left, right, bottom, top), optional
55235526
The bounding box in data coordinates that the image will fill.
55245527
The image is stretched individually along x and y to fill the box.
@@ -5536,8 +5539,8 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
55365539
- For ``origin == 'lower'`` the default is
55375540
``(-0.5, numcols-0.5, -0.5, numrows-0.5)``.
55385541
5539-
See the example :doc:`/tutorials/intermediate/imshow_extent` for a
5540-
more detailed description.
5542+
See the :doc:`/tutorials/intermediate/imshow_extent` tutorial for
5543+
examples and a more detailed description.
55415544
55425545
filternorm : bool, optional, default: True
55435546
A parameter for the antigrain image resize filter (see the

0 commit comments

Comments
 (0)