We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e734af commit af267b7Copy full SHA for af267b7
plotly/offline/offline.py
@@ -257,8 +257,6 @@ def plot(figure_or_data,
257
figure_or_data, show_link, link_text, validate,
258
'100%', '100%')
259
260
- figure = tools.return_figure_from_figure_or_data(figure_or_data, validate)
261
-
262
resize_script = ''
263
if width == '100%' or height == '100%':
264
resize_script = (
@@ -469,4 +467,3 @@ def enable_mpl_offline(resize=False, strip_style=False,
469
467
formatter.for_type(matplotlib.figure.Figure,
470
468
lambda fig: iplot_mpl(fig, resize, strip_style, verbose,
471
show_link, link_text, validate))
472
0 commit comments