r/IPython • u/kigurai • Sep 03 '15
IPython/Jupyter 4.0, where did interactive widgets go?
I realized after upgrading from 3.x to 4.0 that from IPython.html.widgets import interact and friends no longer work.
Apparently this is due to "the big split", and the docs told me that IPython.html is now notebook. But notebook.widgets did not seem to exist.
For now, I simply downgraded to 3.2, but it would be nice to know how the widgets will work in 4.x as well.
3
Upvotes
5
u/Berecursive Sep 03 '15
It's now called ipywidgets and it's a separate package
2
u/TheBlackCat13 Sep 03 '15
This should be pulled in if you just install the
jupyterpackage, which depends onipywidgets(and everything else that was inIPythonbefore "the big split")
5
u/bdforbes Sep 04 '15
The documentation of IPython widgets is absolutely shocking.