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 14
14
# Load JS widget code
15
15
# No officially recommended way to do this in any other way
16
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
17
js_widget_code = resource_string ('plotly' ,
20
- 'widgets/graphWidgets .js' ).decode ('utf-8' )
18
+ 'widgets/graphWidget .js' ).decode ('utf-8' )
21
19
22
20
display (Javascript (js_widget_code ))
23
21
You can’t perform that action at this time.
0 commit comments