Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC : improved extent of imshow doc #2739

Merged
merged 2 commits into from Apr 9, 2014
Merged

Conversation

tacaswell
Copy link
Member

closes #990

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`, and extent such that the pixel _centers_
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I don't understand the If none sentence. Is this basically trying to say that the pixel centres will be mapped to index space?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, the pixel centers fall on (0,0), (1, 0) ...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for clarity, maybe say:

If None, the image is positioned such that the pixel centers fall on zero-based (row, column) indices.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Tillsten
Copy link
Contributor

Tillsten commented Apr 5, 2014

LGTM?

pelson added a commit that referenced this pull request Apr 9, 2014
DOC : improved `extent` of `imshow` doc
@pelson pelson merged commit db02533 into matplotlib:v1.3.x Apr 9, 2014
@tacaswell tacaswell deleted the extent_doc branch April 9, 2014 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants