8000 Mention origin and extent tutorial in API docs for origin kwarg · matplotlib/matplotlib@2ac762a · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ac762a

Browse files
committed
Mention origin and extent tutorial in API docs for origin kwarg
Also reword existing note for extent keyword to harmonize and make clearer
1 parent db2193c commit 2ac762a

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)
0