-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
axes.properties calls get_axes internally #5089
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
Comments
ooh boy... yeah... This is harmless, but annoying. And can be an issue in When calling If we are deprecating Thoughts? On Wed, Sep 16, 2015 at 1:55 PM, Tom Augspurger [email protected]
|
@WeatherGod Sounds right to me. I remember doing this in some functions, may |
Just came across this warning myself and found this issue, +1 to the proposed solution |
The first thing that feel through the cracks for 1.5.0 |
Not the worst issue to miss! For people looking for a workaround. In [1]: from matplotlib.cbook import MatplotlibDeprecationWarning
In [2]: import warnings
In [3]: fig, ax = plt.subplots()
In [4]: warnings.simplefilter('ignore', MatplotlibDeprecationWarning)
In [5]: _ = ax.properties() cavet emptor and all that, you could be silencing important warnings. |
Calling `get_axes` currently raises a deprecating warning, eat this. The Artist.properties function will be completely re-written in 2.1 with traitlets so this is a reasonable stop-gap for now. closes matplotlib#5089
This results in a un-fixable warning
The root cause is a call to
ax.get_axes()
.This is on the RC by the way, and probably is from #4686
The text was updated successfully, but these errors were encountered: