Thanks to visit codestin.com Credit goes to github.com
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 f3eb3ef commit f036246Copy full SHA for f036246
plotly/widgets/graph_widget.py
@@ -14,10 +14,8 @@
14
# Load JS widget code
15
# No officially recommended way to do this in any other way
16
# http://mail.scipy.org/pipermail/ipython-dev/2014-April/013835.html
17
-directory = os.path.dirname(os.path.realpath(__file__))
18
-js_widget_file = os.path.join(directory, 'graphWidget.js')
19
js_widget_code = resource_string('plotly',
20
- 'widgets/graphWidgets.js').decode('utf-8')
+ 'widgets/graphWidget.js').decode('utf-8')
21
22
display(Javascript(js_widget_code))
23
0 commit comments