-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Do not warn-depreacted when iterating over rcParams #12658
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
Ah, of course! |
doc error seems to be something wrong w CI not this PR.... |
…658-on-v3.0.x Backport PR #12658 on branch v3.0.x (Do not warn-depreacted when iterating over rcParams)
I still see the warning reported by @astrofrog in #12649 with Matplotlib 3.1.0, even when theoretically, this patch would have silenced it. Is what I am seeing something different? Should I open a new issue? >>> import matplotlib
>>> matplotlib.__version__
'3.1.0'
>>> {}.update(matplotlib.rcParams)
... MatplotlibDeprecationWarning:
The examples.directory rcparam was deprecated in Matplotlib 3.0 and will be removed
in 3.2. In the future, examples will be found relative to the 'datapath' directory.
|
|
I'm very confused what is going on here... |
Was this ever working? I suspect that catching the warn
8000
ings in |
|
I've checked that the following happens for
So it's clear that the filter has no effect. But why did we commit this? Did it maybe work in 3.6? - Nope. Doesn't work in 3.6 either. Given the above. I don't think, we can suppress the warning selectively for |
Hello. I still see the deprecation warning. Should I open a new issue at this point? |
Yes, please open a new issue and provide an example. |
PR Summary
Closes #12649.
This is an alternative approach to #12652. In contrast to #12652 we still return the deprecated rcParams