Widgets menu

71 views
Skip to first unread message

fabrizio...@gmail.com

unread,
Apr 18, 2019, 6:09:54 AM4/18/19
to Project Jupyter
Hi, I have a very simple question.
I cannot find the option "Save Notebook with Widgets" in the widgets menu of the notebook, and I have not understood what I should do to make this option available. I tried installing several packages and extensions, but still it does not appear in the menu.
How may I make this option available?

thanks a lot for your answer,
fabrizio

Jason Grout

unread,
Apr 18, 2019, 11:32:30 AM4/18/19
to Project Jupyter
Are you using classic notebook or JupyterLab?

Here are the installation instructions in the ipywidgets docs: https://ipywidgets.readthedocs.io/en/stable/user_install.html

Thanks,

Jason


--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/4b2e47cd-85c6-42a0-bece-05cd3cfcb6b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

fabrizio...@gmail.com

unread,
Apr 19, 2019, 5:54:43 AM4/19/19
to Project Jupyter
Thanks, Jason!

I am using Jupyter Notebook 5.7.8 on Windows,
I run the command "conda install -c conda-forge ipywidgets" in the Anaconda Prompt

I have the following packages installed:
- ipywidgets                       7.4.2                      py_0
- widgetsnbextension        3.4.2                 py36_1000
- sphinx                             1.8.5                    py36_0
- jupyterlab                        0.35.4           py36hf63ae98_0

But I still can only see the options "Save Notebook Widget State", "Clear Notebook Widget State", "Download Widget State" and "Embed Widget State"

best regards,
fabrizio

Jason Grout

unread,
Apr 19, 2019, 8:26:10 AM4/19/19
to Project Jupyter
Great! It sounds like you're seeing exactly what you should be seeing (there is no option labeled "Save Notebook with Widgets") [1]. In order to save your widget state to the notebook, use the "Save Notebook Widget State". In order to delete the saved widget state from a notebook file, use "Clear Notebook Widget State".

I do see the menu item changed name about 2 years ago [2], but it looks like we forgot to update the documentation in one place [3] with the menu item name change (it's correct elsewhere in that documentation page). Sorry for the confusion. I opened https://github.com/jupyter-widgets/ipywidgets/pull/2386 to fix this one place in the documentation.

Thanks,

Jason




--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.

Fabrizio Patuzzo

unread,
Apr 19, 2019, 1:49:12 PM4/19/19
to jup...@googlegroups.com
Wow, very detailed and clarifying answer.. thanks for your time and attention!

fabrizio

Reply all
Reply to author
Forward
0 new messages