I have a notebook that given input from ipywidget sliders, does some calculations and generates a graph. Is there a way I can create a "read-only" version of this interactive notebook, essentially one in which the user can interact through the sliders but nothing else (like code entry)? Thanks!
Asked
Active
Viewed 943 times
1 Answers
1
If you export the notebook to HTML, it will be a HTML representation of the notebook that isn't editable, and ipywidgets
supports export to HTML. For example: http://jupyter.org/widgets

Louise Davies
- 14,781
- 6
- 38
- 41
-
Hi Louise! Would you mind being a bit more explicit? I have been trying as well to get an HTML notebook with interactive widgets (I have some dropdown menus where users should be able to select values and see different results displayed). So far I have not been successful... See: https://stackoverflow.com/questions/39334338/jupyter-embed-live-interactive-widgets – Ely Jul 20 '17 at 17:32
-
I just tried this export of `.ipynb` to HTML, and all of the code cells get expanded (whereas I'd want them folded, using the Codefolding nbextension), I don't see any ipywidgets rendered anywhere, nor do I see any plots (matplotlib or plotly). – sdbbs Sep 16 '21 at 10:11