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

Skip to content

Commit 9dbd214

Browse files
committed
offline plot event listener edit
1 parent e412dcc commit 9dbd214

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plotly/offline/offline.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,6 @@ def plot(figure_or_data, show_link=True, link_text='Export to plot.ly',
454454
resize_script = (
455455
''
456456
'<script type="text/javascript">'
457-
'window.removeEventListener("resize");'
458457
'window.addEventListener("resize", function(){{'
459458
'Plotly.Plots.resize(document.getElementById("{id}"));}});'
460459
'</script>'

0 commit comments

Comments
 (0)