Skip to content

Commit

Permalink
Merge pull request plotly#400 from icaromedeiros/useless-line
Browse files Browse the repository at this point in the history
Remove useless line in offline plot function
  • Loading branch information
jackparmer committed Feb 23, 2016
2 parents 283ba58 + af267b7 commit 0dded42
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plotly/offline/offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,6 @@ def plot(figure_or_data,
figure_or_data, show_link, link_text, validate,
'100%', '100%')

figure = tools.return_figure_from_figure_or_data(figure_or_data, validate)

resize_script = ''
if width == '100%' or height == '100%':
resize_script = (
Expand Down Expand Up @@ -470,4 +468,3 @@ def enable_mpl_offline(resize=False, strip_style=False,
formatter.for_type(matplotlib.figure.Figure,
lambda fig: iplot_mpl(fig, resize, strip_style, verbose,
show_link, link_text, validate))

0 comments on commit 0dded42

Please sign in to comment.