Skip to content
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

TST: Filter false positive matplotlib warning #48317

Merged
merged 1 commit into from
Aug 31, 2022

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke commented Aug 30, 2022

xref matplotlib/matplotlib#23614.

This false positive warning showed up in our test suite and can be filtered out.

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Visualization plotting Warnings Warnings that appear or should be added to pandas labels Aug 30, 2022
@mroeschke mroeschke added this to the 1.6 milestone Aug 30, 2022
Copy link
Member

@phofl phofl left a comment

Choose a reason for hiding this comment

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

lgtm

@phofl phofl merged commit bfdb524 into pandas-dev:main Aug 31, 2022
@phofl
Copy link
Member

phofl commented Aug 31, 2022

thx @mroeschke

@mroeschke mroeschke deleted the tst/warnings/matplotlib branch August 31, 2022 19:14
@mroeschke mroeschke modified the milestones: 1.6, 2.0 Oct 13, 2022
with warnings.catch_warnings():
# https://github.com/matplotlib/matplotlib/issues/23614
# False positive deprecation warning until matplotlib=3.6
warnings.filterwarnings("ignore", "Auto-removal of grids")
Copy link
Member

Choose a reason for hiding this comment

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

is this unnecessary now that our min version is 3.6.1?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I think based on matplotlib/matplotlib#23614 (comment) should be safe to remove

noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite Visualization plotting Warnings Warnings that appear or should be added to pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants