Skip to content

Commit 7703f79

Browse files
committed
made conditionals for imports
1 parent 8ae2d84 commit 7703f79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plotly/widgets/graph_widget.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99

1010

1111
# TODO: protected imports?
12-
import Ipython
12+
import IPython
1313
from IPython.display import Javascript, display
1414

1515
import plotly.plotly.plotly as py
1616
from plotly import utils, tools
1717
from plotly.graph_objs import Figure
1818

19-
if Ipython.version_info[0] > 3:
19+
if IPython.version_info[0] > 3:
2020
import ipywidgets as widgets
2121
from traitlets import Unicode
2222
else:

0 commit comments

Comments
 (0)