Matplotlib is_frame_like is deprecated, and will be removed soon
See original GitHub issueTo repro, run this:
import matplotlib.pyplot as plt
import plotly.tools
f = plt.figure()
plt.plot([1,2,3,4])
plotly.tools.mpl_to_plotly(f)
…which will result in this warning being printed to the console:
(...)/lib/python3.6/site-packages/plotly/matplotlylib/mpltools.py:368: MatplotlibDeprecationWarning:
The is_frame_like function was deprecated in Matplotlib 3.1 and will be removed in 3.3.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Python/matplotlib : getting rid of matplotlib.mpl warning
Due to. MatplotlibDeprecationWarning: mplDeprecation was deprecated in Matplotlib 3.6 and will be removed two minor releases later ..
Read more >API Changes — Matplotlib 3.1.2 documentation
Behavior changes; pgi support dropped; rcParam changes ... This behavior has been deprecated; in a future version, this will raise a ...
Read more >API Changes — Matplotlib 3.3.4 documentation
This behavior is deprecated and will change to always normalizing the values to a full pie by default. If you want to draw...
Read more >matplotlib._api — Matplotlib 3.6.2 documentation
As soon as a call succeeds, select_matching_signature returns its return value. ... Decorator to mark a function, a class, or a property as...
Read more >matplotlib.figure — Matplotlib 3.6.2 documentation
Instead, use add_axes , add_subplot or delaxes to add or remove an Axes. ... Deprecated since version 3.6: Use figure.get_layout_engine().execute() instead.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That said, if someone wants to work on it to bring it back up to date I’d be happy to work with them to integrate the changes 😃
Indeed, our matplotlib conversion utility should be considered deprecated at this point as it isn’t being actively maintained to track deprecations and changes in matplotlib itself so it works best with older versions of matplotlib. I should update the docstrings accordingly.