We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caa57e2 commit cf5ac9fCopy full SHA for cf5ac9f
plotly/offline/offline.py
@@ -89,7 +89,7 @@ def get_plotlyjs():
89
90
def _build_resize_script(plotdivid, plotly_root="Plotly"):
91
resize_script = (
92
- '<script>'
+ "<script>"
93
'window.addEventListener("resize", function(){{'
94
'if (document.getElementById("{id}")) {{'
95
'{plotly_root}.Plots.resize(document.getElementById("{id}"));'
tests/test_io/test_renderers.py
@@ -306,7 +306,7 @@ def test_repr_html(renderer):
306
sri_hash = _generate_sri_hash(plotlyjs_content)
307
308
template = (
309
- '<div> <script>'
+ "<div> <script>"
310
"window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n "
311
'<script charset="utf-8" src="'
312
+ plotly_cdn_url()
0 commit comments