Skip to content

Commit fa4bba0

Browse files
committed
Update loading of full plotly.js library to use script module type
1 parent 26c4443 commit fa4bba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/python/plotly/plotly/io/_base_renderers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ def activate(self):
293293
<script type="text/javascript">
294294
{win_config}
295295
{mathjax_config}
296-
{script}
297296
</script>
297+
<script type="module">{script}</script>
298298
""".format(
299299
script=get_plotlyjs(),
300300
win_config=_window_plotly_config,

0 commit comments

Comments
 (0)