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

Add test_eventplot to test_datetime.py#27466

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

Merged
QuLogic merged 4 commits intomatplotlib:mainfromshriyakalakata:eventplot
Dec 11, 2023

Conversation

shriyakalakata
Copy link
Contributor

@shriyakalakatashriyakalakata commentedDec 7, 2023
edited
Loading

PR summary

I have added a datetime smoke test/example code under the test_eventplot method in lib/matplotlib/test/test_datetime.py. This addresses the Axes.eventplot task from#26864.

(edited) The plots generated from the latest test code:
eventplot

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.

Copy link
Member

@QuLogicQuLogic left a comment

Choose a reason for hiding this comment

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

On a side note, you should probablyset your email address in your git config. The first commit is using a random DHCP-supplied hostname from NYU, and the second is using your default macbook hostname.

@ksunden
Copy link
Member

I think we may wish to add a testcase which exercise the units behavior on they axis (i.e.lineoffset andlinelength params, set todatetime andtimedelta, respectively)

While I think the test cases here are perfectly good for the more ordinary use of eventplot, checking that those do the sensible thing is part of what we want.

@shriyakalakata
Copy link
ContributorAuthor

I think we may wish to add a testcase which exercise the units behavior on they axis (i.e.line offset andlinelength params, set todatetime andtimedelta, respectively)

I'm able to usedatetime forlineoffset on the y axis but seems likelinelength can't be of typetimedelta

@QuLogic
Copy link
Member

I'm able to usedatetime forlineoffset on the y axis but seems likelinelength can't be of typetimedelta

I've opened#27479 to track this.

@QuLogicQuLogic added this to thev3.9.0 milestoneDec 9, 2023
Copy link
Member

@ksundenksunden left a comment

Choose a reason for hiding this comment

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

Sincelinelengths is not well supported (and we have an issue to track getting it supported) I'll go ahead and approve this for what it is. We can edit it to includelinelengths as timedeltas when that has been addressed.

@QuLogicQuLogic merged commit87e09e8 intomatplotlib:mainDec 11, 2023
@QuLogic
Copy link
Member

Thanks@shriyakalakata! Congratulations on your first PR to Matplotlib 🎉 We hope to hear from you again.

shriyakalakata reacted with heart 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

@QuLogicQuLogicQuLogic approved these changes

@ksundenksundenksunden approved these changes

Assignees
No one assigned
Projects
Milestone
v3.9.0
Development

Successfully merging this pull request may close these issues.

4 participants
@shriyakalakata@ksunden@QuLogic@melissawm

[8]ページ先頭

©2009-2025 Movatter.jp