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 8ae2d84 commit b207e32Copy full SHA for b207e32
plotly/widgets/graph_widget.py
@@ -9,19 +9,19 @@
9
10
11
# TODO: protected imports?
12
-import Ipython
+import IPython
13
from IPython.display import Javascript, display
14
15
import plotly.plotly.plotly as py
16
from plotly import utils, tools
17
from plotly.graph_objs import Figure
18
19
-if Ipython.version_info[0] > 3:
+if IPython.version_info[0] > 3:
20
import ipywidgets as widgets
21
from traitlets import Unicode
22
else:
23
- import IPython.widgets as widgets
24
- from IPython.trailets import Unicode
+ from IPython.html import widgets
+ from IPython.utils.traitlets import Unicode
25
26
# Load JS widget code
27
# No officially recommended way to do this in any other way
0 commit comments