Widgets not showing in NBViewer

I have an iPython Notebook with an interactive slider:

enter image description here

To share the notebook, I would like to use the link provided by NBViewer. This will allow me to share the post with people who don't use Python. Unfortunately, the widget does not appear when viewing the NBViewer link:

enter image description here

Is there something I need to do to get widgets to work with NBViewer?

+2
source share
2 answers

Widgets do not display in nbviewer with current ipython 2.x.

IPython 3 is supposed to add persistent widgets that nbviewer can display.

The release of ipython 3 is scheduled for this fall, but is likely to happen early next year.

+1
source

I had to give up ipywidget from version 7.0.3 to show nbviewer ipywidget.

pip install ipywidgets==6.0.0 
0
source

Source: https://habr.com/ru/post/1234192/


All Articles