Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3af5039

Browse files
committed
update plot with new _plot_html output arguments
1 parent cb6e87f commit 3af5039

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plotly/offline/offline.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,11 @@ def iplot(figure_or_data, show_link=True, link_text='Export to plot.ly',
171171

172172
from IPython.display import HTML, display
173173

174-
display(HTML(_plot_html(
174+
plot_html, plotdivid, width, height = _plot_html(
175175
figure_or_data, show_link, link_text, validate,
176-
'100%', 525)))
176+
'100%', 525)
177+
178+
display(HTML(plot_html))
177179

178180

179181
def plot(figure_or_data,

0 commit comments

Comments
 (0)