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 test_pcolormesh in test_datetime.py#27433
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
base:main
Are you sure you want to change the base?
Conversation
x_timestamps = [date.timestamp() for date in x_dates] | ||
y_timestamps = [date.timestamp() for date in y_dates] |
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 would avoid using the timestamp for the non-date data, as it is a number that looks like it should be interpreted as a data (and thus made me do a doubletake when I saw the image)
Perhaps just do e.g.np.linspace(0, 10, x_dates.size)
or something similar
Uh oh!
There was an error while loading.Please reload this page.
PR summary
Added code for
test_pcolormesh
intest_datetime.py
as requested in#26864(old commits in this branch have already been merged#27401, only new additions are shown - the test_pcolormesh test)
Image of the plot:

PR checklist