Skip to content

Commit af267b7

Browse files
committed
remove useless line in plot function
1 parent 5e734af commit af267b7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

plotly/offline/offline.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,6 @@ def plot(figure_or_data,
257257
figure_or_data, show_link, link_text, validate,
258258
'100%', '100%')
259259

260-
figure = tools.return_figure_from_figure_or_data(figure_or_data, validate)
261-
262260
resize_script = ''
263261
if width == '100%' or height == '100%':
264262
resize_script = (
@@ -469,4 +467,3 @@ def enable_mpl_offline(resize=False, strip_style=False,
469467
formatter.for_type(matplotlib.figure.Figure,
470468
lambda fig: iplot_mpl(fig, resize, strip_style, verbose,
471469
show_link, link_text, validate))
472-

0 commit comments

Comments
 (0)