Skip to content

Commit 0dded42

Browse files
committed
Merge pull request #400 from icaromedeiros/useless-line
Remove useless line in offline plot function
2 parents 283ba58 + af267b7 commit 0dded42

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: plotly/offline/offline.py

-3
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,6 @@ def plot(figure_or_data,
258258
figure_or_data, show_link, link_text, validate,
259259
'100%', '100%')
260260

261-
figure = tools.return_figure_from_figure_or_data(figure_or_data, validate)
262-
263261
resize_script = ''
264262
if width == '100%' or height == '100%':
265263
resize_script = (
@@ -470,4 +468,3 @@ def enable_mpl_offline(resize=False, strip_style=False,
470468
formatter.for_type(matplotlib.figure.Figure,
471469
lambda fig: iplot_mpl(fig, resize, strip_style, verbose,
472470
show_link, link_text, validate))
473-

0 commit comments

Comments
 (0)