Skip to content

Commit 06873b7

Browse files
Merge pull request #1 from grootstebozewolf/display_html_offline_patch
Update _base_renderers.py
2 parents 54efc64 + 81f3dc0 commit 06873b7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
88

99
- Updated Plotly.js to version 1.57.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v1.57.0/CHANGELOG.md) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module.
1010

11+
### Fixed
12+
13+
- Patch for offline rendering in IPython notebook.
14+
1115
## [4.11.0] - 2020-10-01
1216

1317
### Updated

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)