Skip to content

Commit 9f992d6

Browse files
authored
Merge pull request #717 from Ismael-VC/patch-1
Make offline embedded <div> plots responsive.
2 parents 88e7c79 + 8cfa08e commit 9f992d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: plotly/offline/offline.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,8 @@ def plot(figure_or_data, show_link=True, link_text='Export to plot.ly',
516516
get_plotlyjs(),
517517
'</script>',
518518
plot_html,
519-
'</div>'
519+
resize_script,
520+
'</div>',
520521
])
521522
else:
522523
return plot_html

0 commit comments

Comments
 (0)