Ipywidgets and SlicerJupyter


I downloaded the tutorial sets for SlicerJupyter and noticed that the interactive widgets were not showing up. I had to enable them using:

jupyter nbextension enable --py widgetsnbextension

I want to make sure that I did not miss something in the installation instructions using Option 2 (note that I did not run the additional commands for Jupyter lab): https://github.com/Slicer/SlicerJupyter/blob/master/README.md#setup



Thanks for reporting this. Some places I saw instructions for enabling notebook extensions, but I also saw comments about these steps not being necessary. I’ve found that things worked for me without them, but probably it’s safer to execute them, even if they are not always necessary. I’ve updated the instructions, please send a pull request if you think further changes are needed. Thank you.

1 Like