pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/plotly/plotly.py/commit/bd50b4a7ec770eb59bf512eb19cffe8d10f2f28d

nk crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-7a1ad343bd40328c.css" /> Remove calls to non-existent figure methods in MPL code (#1382) · plotly/plotly.py@bd50b4a · GitHub
Skip to content

Commit bd50b4a

Browse files
authored
Remove calls to non-existent figure methods in MPL code (#1382)
* Remove call to `fig.strip_style` (was removed in v3) * Remove call to `fig.validate` (was removed in v3)
1 parent 7151847 commit bd50b4a

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

plotly/matplotlylib/renderer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,5 +735,4 @@ def resize(self):
735735
pass
736736

737737
def strip_style(self):
738-
self.msg += "Stripping mpl style, deleting keys from data and layout\n"
739-
self.plotly_fig.strip_style()
738+
self.msg += "Stripping mpl style is no longer supported\n"

plotly/plotly/plotly.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ def iplot_mpl(fig, resize=True, strip_style=False, update=None,
276276
fig = tools.mpl_to_plotly(fig, resize=resize, strip_style=strip_style)
277277
if update and isinstance(update, dict):
278278
fig.update(update)
279-
fig.validate()
280279
elif update is not None:
281280
raise exceptions.PlotlyGraphObjectError(
282281
"'update' must be dictionary-like and a valid plotly Figure "

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy