Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Attempted to add test_pcolorfast in test_datetime.py#27450

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

Open
AndyXi163 wants to merge5 commits intomatplotlib:main
base:main
Choose a base branch
Loading
fromAndyXi163:add_test_pcolorfast

Conversation

AndyXi163
Copy link

@AndyXi163AndyXi163 commentedDec 6, 2023
edited
Loading

PR summary

Attempted to add code totest_pcolorfast intest_datetime.py as requested in#26864
Based on my researches and shallow understandings of the code, the original functionpcolorfast() does not seem to directly support inputs of typedatetime.datetime ornumpy.datetime64; therefore I have useddate2num() to make the graph print correctly.
I am (almost) new to GitHub and entirely new to OSS contributions so I apologize ahead if I have made mistakes or caused trouble. Please feel free to point out my flaws and mistakes so that I can correct them.

The outputted graph is as follows:
pcolorfast_plot

PR checklist

Copy link

@github-actionsgithub-actionsbot left a comment

Choose a reason for hiding this comment

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

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join uson gitter for real-time discussion.

For details on testing, writing docs, and our review process, please seethe developer guide

We strive to be a welcoming and open project. Please follow ourCode of Conduct.

@AndyXi163AndyXi163 reopened thisDec 6, 2023
@AndyXi163AndyXi163 marked this pull request as ready for reviewDecember 6, 2023 07:15
@AndyXi163
Copy link
Author

Wait... what's happening with all the test fails...?
I will be very grateful if someone can briefly explain it for me; thanks!

@ksunden
Copy link
Member

Thank you for working this!

One of the explicit goals of writing these tests was in fact tofind places where our unit handling could be better/methods thatshould participate in unit conversions but don't. Could you create an issue to help us track it?

We may not merge this PR before that is resolved, since actually passingdatetimes in is intended to work and is what we wish to be testing here (though I don't think we shouldremove the test as not wanted because we will want it eventually.)

AndyXi163 reacted with thumbs up emoji

@ksundenksunden mentioned this pull requestDec 6, 2023
64 tasks
@QuLogic
Copy link
Member

I've opened#27526 to track the missing unit handling inpcolorfast.

AndyXi163 reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

@ksundenksundenksunden requested changes

Requested changes must be addressed to merge this pull request.

Assignees
No one assigned
Projects
Status: Waiting for author
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@AndyXi163@ksunden@QuLogic@melissawm

[8]ページ先頭

©2009-2025 Movatter.jp