Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Added smoke test for Axes.imshow to test_datetime.py#27476
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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.
I'm not too sure we need all 4 scales, as that is testing the concise date formatter, not anything specific toimshow
.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
… days, the axes labels now look like dates instead of just the year.
ConstableCatnip commentedDec 11, 2023 • 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.
Thanks@ConstableCatnip! Congratulations on your first PR to Matplotlib 🎉 We hope to hear from you again. |
PR summary
This PR adds a smoke test for
Axes.imshow
in lib/matplotlib/tests/test_datetime.py and addresses taskAxes.imshow
in issue#26864. Due to the behavior ofAxes.imshow
with thempl.rcParams["date.converter"] = "concise"
, I included year, month, day, and time axis scale plots.Below is the image of the generated plot:
PR checklist