Skip to content

Commit cb05fda

Browse files
authored
BUG FIX: init_notebook_mode(True) not work
due to the wrong plotly-latest.min.js source url, the init_notebook_mode(connected=True) didn't work correctly. change the js url from https://cdn.plot.ly/plotly-latest.min to https://cdn.plot.ly/plotly-latest.min.js
1 parent fa0bb20 commit cb05fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/offline/offline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def init_notebook_mode(connected=False):
116116
'requirejs.config({'
117117
'paths: { '
118118
# Note we omit the extension .js because require will include it.
119-
'\'plotly\': [\'https://cdn.plot.ly/plotly-latest.min\']},'
119+
'\'plotly\': [\'https://cdn.plot.ly/plotly-latest.min.js\']},'
120120
'});'
121121
'if(!window.Plotly) {{'
122122
'require([\'plotly\'],'

0 commit comments

Comments
 (0)