We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9884e6b commit d8d90ccCopy full SHA for d8d90cc
highcharts/ipynb.py
@@ -10,7 +10,7 @@
10
_ip = get_ipython()
11
except:
12
_ip = None
13
-if _ip and _ip.__module__.startswith('IPython'):
+if _ip and (_ip.__module__.startswith('IPython') or _ip.__module__.startswith('ipykernel')):
14
15
def _print_html(chart):
16
'''Function to return the HTML code for the div container plus the javascript
@@ -45,4 +45,4 @@ def _setup_ipython_formatter(ip):
45
for chart_type in [Highchart, Highmap, Highstock]:
46
html_formatter.for_type(chart_type, _print_html)
47
48
- _setup_ipython_formatter(_ip)
+ _setup_ipython_formatter(_ip)
0 commit comments