8000 be safe with newPlot calls · s-celles/plotly.py@5394156 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5394156

Browse files
committed
be safe with newPlot calls
1 parent a077134 commit 5394156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/offline/offline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def _plot_html(figure_or_data, show_link, link_text,
101101
.replace('http://', '')
102102
link_text = link_text.replace('plot.ly', link_domain)
103103

104-
script = 'Plotly.plot("{id}", {data}, {layout}, {config})'.format(
104+
script = 'Plotly.newPlot("{id}", {data}, {layout}, {config})'.format(
105105
id=plotdivid,
106106
data=jdata,
107107
layout=jlayout,

0 commit comments

Comments
 (0)
0