Repository navigation
Fix #5777. Don't warn when applying default style - #5778
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.