Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f036246

Browse files
committed
no s… ugg.
1 parent f3eb3ef commit f036246

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plotly/widgets/graph_widget.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414
# Load JS widget code
1515
# No officially recommended way to do this in any other way
1616
# 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')
1917
js_widget_code = resource_string('plotly',
20-
'widgets/graphWidgets.js').decode('utf-8')
18+
'widgets/graphWidget.js').decode('utf-8')
2119

2220
display(Javascript(js_widget_code))
2321

0 commit comments

Comments
 (0)