Skip to content

Commit

Permalink
Merge pull request #2739 from tacaswell/extent_doc
Browse files Browse the repository at this point in the history
DOC : improved `extent` of `imshow` doc
  • Loading branch information
pelson committed Apr 9, 2014
2 parents 99d5012 + ea60427 commit db02533
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/matplotlib/axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7251,8 +7251,9 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
corner of the axes. If None, default to rc `image.origin`.
extent : scalars (left, right, bottom, top), optional, default: None
Data limits for the axes. The default assigns zero-based row,
column indices to the `x`, `y` centers of the pixels.
The location, in data-coordinates, of the lower-left and upper-right
corners of the image. If `None`, the image is positioned such that
the pixel centers fall on zero-based (row, column) indices.
shape : scalars (columns, rows), optional, default: None
For raw buffer images
Expand Down

0 comments on commit db02533

Please sign in to comment.