Skip to content

Commit c3fc5c8

Browse files
committed
Update to the module type and native es6 import
1 parent c5a2993 commit c3fc5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/python/plotly/plotly/io/_base_renderers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def activate(self):
279279
{win_config}
280280
{mathjax_config}
281281
</script>
282-
<script src=\"{plotly_cdn}\" charset="utf-8"></script>
282+
<script type="module">import \"{plotly_cdn}\"</script>
283283
""".format(
284284
win_config=_window_plotly_config,
285285
mathjax_config=_mathjax_config,

0 commit comments

Comments
 (0)