-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix #5777. Don't warn when applying default style #5778
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
Conversation
The context manager is badly named it does not actually catch any warnings it just resets the warning filter when leaving the context. I think you have to do: with warnings.catch_warnings(record=True):
warnings.simplefilter("ignore", UserWarning)
_apply_style(rcParamsDefault) |
If I understand this correctly the |
For me, at least, the warnings aren't shown at all, due to the |
It's shown once in https://travis-ci.org/matplotlib/matplotlib/jobs/99718127 but that might be do to other reasons. |
Let's see if the latest commit here fixes that warning in the doc build. If not, there's probably something else to track down. |
There is still a single |
Fix #5777. Don't warn when applying default style
Fix matplotlib#5777. Don't warn when applying default style
No description provided.