Skip to content

Commit 791e94b

Browse files
Update _base_renderers.py
Patch for IPython version 7.16.1 display_html AttributeError
1 parent 54efc64 commit 791e94b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,7 @@ def activate(self):
323323
win_config=_window_plotly_config,
324324
mathjax_config=_mathjax_config,
325325
)
326-
327-
ipython_display.display_html(script, raw=True)
326+
ipython_display.display(ipython_display.HTML(script))
328327

329328
def to_mimebundle(self, fig_dict):
330329

0 commit comments

Comments
 (0)