Skip to content

Commit 0dded42

Browse files
committed
Merge pull request plotly#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

plotly/offline/offline.py

Lines changed: 0 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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