Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Added test_fill_betweenx in test_datetime.py #27425

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 6, 2023
Merged

Conversation

xieruoyi
Copy link
Contributor

@xieruoyi xieruoyi commented Dec 2, 2023

PR summary

Added code for test_fill_betweenx in test_datetime.py as requested in #26864

Image for an output
image

PR checklist

@xieruoyi
Copy link
Contributor Author

xieruoyi commented Dec 2, 2023

#26864

Copy link

@github-actions github-actions bot 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 us on gitter for real-time discussion.

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

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

@oscargus
Copy link
Member

oscargus commented Dec 4, 2023

Thank you. I believe that one can probably skip the second subplot since that is only using floats (so not really related to the purpose of the test).

@xieruoyi
Copy link
Contributor Author

xieruoyi commented Dec 4, 2023

Thank you. I believe that one can probably skip the second subplot since that is only using floats (so not really related to the purpose of the test).

Hi, I did that because both “axes.fill” and “axes.fill_between” did that as well for a comparison. I think it can be consistent if I keep this, but I can also remove it if you think it is unnecessary

@ksunden
Copy link
Member

ksunden commented Dec 5, 2023

@xieruoyi Oscar raised the same objection to fill_between and it was removed before it was merged.

I agree that it should likely be removed, though I did in fact ignore that for fill, its not exactly harming anything, just isn't the objective of the test.

@xieruoyi
Copy link
Contributor Author

xieruoyi commented Dec 6, 2023

image
Hi, I changed it, thank you for pointing out!

@ksunden ksunden added this to the v3.9.0 milestone Dec 6, 2023
@QuLogic QuLogic merged commit 41afb90 into matplotlib:main Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants