Skip to content
Prev Previous commit
Next Next commit
Update to the module type and native es6 import
  • Loading branch information
marthacryan committed Sep 12, 2024
commit c3fc5c8813d0bdd305d69cc79cd9864cec6ee6f5
2 changes: 1 addition & 1 deletion packages/python/plotly/plotly/io/_base_renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def activate(self):
{win_config}
{mathjax_config}
</script>
<script src=\"{plotly_cdn}\" charset="utf-8"></script>
<script type="module">import \"{plotly_cdn}\"</script>
""".format(
win_config=_window_plotly_config,
mathjax_config=_mathjax_config,
Expand Down