File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
tests/test_optional/test_ipython Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1+ from unittest import TestCase
2+
3+ from plotly .widgets import GraphWidget
4+
5+
6+ class TestWidgets (TestCase ):
7+
8+ def test_instantiate_graph_widget (self ):
9+ widget = GraphWidget
Original file line number Diff line number Diff line change 1- __version__ = '1.6.3 '
1+ __version__ = '1.6.5 '
Original file line number Diff line number Diff line change 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' )
1917js_widget_code = resource_string ('plotly' ,
20- 'widgets/graphWidgets .js' ).decode ('utf-8' )
18+ 'widgets/graphWidget .js' ).decode ('utf-8' )
2119
2220display (Javascript (js_widget_code ))
2321
You can’t perform that action at this time.
0 commit comments