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 0dded42

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

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
@@ -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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.