Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Cleanup pcolor_demo.#16060
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Cleanup pcolor_demo.#16060
Uh oh!
There was an error while loading.Please reload this page.
Conversation
timhoffm commentedJan 1, 2020
flake8: |
timhoffm left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Make imshow() use aspect="auto" rather than the default aspect=1,
to make it more comparable with the pcolor plots.
IMHO, the purpose of this section is not to show that you can produce identical plots with these functions given the right kwargs. Instead, it should show how they plots are similar or different given the default settings. It would actually be good to describe what's similar/different. As of now the users have to compare the images and guess. If you don't want to go into describing, I recommend to leave this unchanged for now.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
anntzer commentedJan 1, 2020
I added a small comment re: aspect="auto", because I think it's actually quite important: the point is that even for non-square pixels, you can use imshow, which is typically much more efficient than the various pcolor*, whereas I would guess many people believe imshow only works for square pixels. |
- Set up the x, y arrays in simpler (IMO) ways.- Make imshow() use aspect="auto" rather than the default aspect=1, to make it more comparable with the pcolor plots.
timhoffm left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
The comparison could still use som more explanation, but merging as is as an incremental improvement.
to make it more comparable with the pcolor plots.
PR Summary
PR Checklist