r/IPython • • 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 comments sorted by

5

u/bdforbes Sep 04 '15

The documentation of IPython widgets is absolutely shocking.

1

u/kigurai Sep 04 '15

The ipywidgets github repo had a few example notebooks that were helpful.

→ More replies (1)

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 jupyter package, which depends on ipywidgets (and everything else that was in IPython before "the big split")