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

Skip to content

Commit c30816c

Browse files
committed
Mention origin and extent tutorial in API docs for origin kwarg
1 parent db2193c commit c30816c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 0 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 example :doc:`/tutorials/intermediate/imshow_extent` 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.
@@ -5589,6 +5592,7 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
55895592
55905593
`~matplotlib.pyplot.imshow` expects RGB images adopting the straight
55915594
(unassociated) alpha representation.
5595+
55925596
"""
55935597
if norm is not None and not isinstance(norm, mcolors.Normalize):
55945598
raise ValueError(

0 commit comments

Comments
 (0)
0