Skip to content

Commit db02533

Browse files
committed
Merge pull request #2739 from tacaswell/extent_doc
DOC : improved `extent` of `imshow` doc
2 parents 99d5012 + ea60427 commit db02533

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/axes.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7251,8 +7251,9 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
72517251
corner of the axes. If None, default to rc `image.origin`.
72527252
72537253
extent : scalars (left, right, bottom, top), optional, default: None
7254-
Data limits for the axes. The default assigns zero-based row,
7255-
column indices to the `x`, `y` centers of the pixels.
7254+
The location, in data-coordinates, of the lower-left and upper-right
7255+
corners of the image. If `None`, the image is positioned such that
7256+
the pixel centers fall on zero-based (row, column) indices.
72567257
72577258
shape : scalars (columns, rows), optional, default: None
72587259
For raw buffer images

0 commit comments

Comments
 (0)