Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22fe0a8 commit cfb0701Copy full SHA for cfb0701
1 file changed
IPython/html.py
@@ -13,12 +13,16 @@
13
14
from IPython.utils.shimmodule import ShimModule
15
16
-sys.modules['IPython.html.widgets'] = ShimModule(
+_widgets = sys.modules['IPython.html.widgets'] = ShimModule(
17
src='IPython.html.widgets', mirror='ipython_widgets')
18
19
-sys.modules['IPython.html'] = ShimModule(
+_html = ShimModule(
20
src='IPython.html', mirror='jupyter_notebook')
21
22
+# hook up widgets
23
+_html.widgets = _widgets
24
+sys.modules['IPython.html'] = _html
25
+
26
if __name__ == '__main__':
27
from jupyter_notebook import notebookapp as app
28
app.launch_new_instance()
0 commit comments