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

Clarify input dimensions for pcolormesh in documentation #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jkunimune
Copy link

The plotting data tutorial states that the x, y, and data inputs to pcolormesh should be of the same size, but that's not correct. As per the Basemap.pcolormesh docstring, x and y should have dimensions one greater than those of data; the code will still run if they have the same size but the last row and column get dropped.

The tutorial states that the `x`, `y`, and `data` inputs to pcolormesh should be of the same size, but that's not correct.  As per the `Basemap.pcolormesh` docstring, `x` and `y` should have dimensions one greater than those of data; the code will still run if they have the same size but the last row and column get dropped.
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.

1 participant