Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit af267b7

Browse filesBrowse files
committed
remove useless line in plot function
1 parent 5e734af commit af267b7
Copy full SHA for af267b7

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed

‎plotly/offline/offline.py

Copy file name to clipboardExpand all lines: plotly/offline/offline.py
-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.