question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Matplotlib is_frame_like is deprecated, and will be removed soon

See original GitHub issue

To 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:open
  • Created 4 years ago
  • Reactions:4
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
nicolaskruchtencommented, Jul 4, 2020

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 😃

1reaction
nicolaskruchtencommented, Jul 4, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found