How to get the widgets menu in the notebook?

527 views
Skip to first unread message

David Ketcheson

unread,
Feb 6, 2017, 9:16:40 PM2/6/17
to Project Jupyter
Dumb question here: at http://ipywidgets.readthedocs.io/en/latest/embedding.html it claims that there is a widgets menu in the menu bar, but I don't see that in my notebook, even when I click on a cell with a widget.  I'm running version Jupyter 4.3.2, which I believe is the latest release.  How can I get that menu?

David Ketcheson

Carol Willing

unread,
Feb 6, 2017, 9:30:01 PM2/6/17
to jup...@googlegroups.com
Hi David,

I'm sure others will chime in with additional feedback too. It seems like nbextension may not be enabled. If you have installed the notebook and ipywidgets using pip, there is an additional step `jupyter nbextension enable --py widgetsnbextension`. If you installed using conda, I don't believe that step is needed. [Reference]

Hope this helps.

Thanks,
Carol

February 6, 2017 at 6:16 PM
Dumb question here: at http://ipywidgets.readthedocs.io/en/latest/embedding.html it claims that there is a widgets menu in the menu bar, but I don't see that in my notebook, even when I click on a cell with a widget.  I'm running version Jupyter 4.3.2, which I believe is the latest release.  How can I get that menu?

David Ketcheson
--
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/933c06aa-6c62-4d3e-ae95-095e6799de5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Carol Willing

Research Software Engineer, Project Jupyter
Cal Poly San Luis Obispo

Director, Python Software Foundation

Strengths: Empathy, Relator, Ideation, Strategic, Learner

David Ketcheson

unread,
Feb 6, 2017, 11:57:09 PM2/6/17
to Project Jupyter
Thank you, Carol!  That worked.

However, in the widgets menu I have now, the first option is "save notebook with snapshots".  That seems to just save an image with the current state of each widget.  In the menu shown at http://ipywidgets.readthedocs.io/en/latest/embedding.html, the first option is "save notebook with widgets", which I guess saves the entire widget state in the notebook so that if I upload it and view it (say in nbviewer) the widget will work.  How can I get that option?

David

Carol Willing

unread,
Feb 7, 2017, 6:33:41 AM2/7/17
to jup...@googlegroups.com


February 6, 2017 at 8:57 PM
Thank you, Carol!  That worked.

Great! I'm glad that helped.


However, in the widgets menu I have now, the first option is "save notebook with snapshots".  That seems to just save an image with the current state of each widget.  In the menu shown at http://ipywidgets.readthedocs.io/en/latest/embedding.html, the first option is "save notebook with widgets", which I guess saves the entire widget state in the notebook so that if I upload it and view it (say in nbviewer) the widget will work.  How can I get that option?

I would recommend that you ask this on the Gitter channel for ipywidgets: https://gitter.im/ipython/ipywidgets

I'm sure that Sylvain and others could give you a more detailed response on this question :-)

David

On Monday, February 6, 2017 at 6:30:01 PM UTC-8, Carol Willing wrote:
--
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.

For more options, visit https://groups.google.com/d/optout.
February 6, 2017 at 6:29 PM

Thomas Kluyver

unread,
Feb 7, 2017, 6:35:17 AM2/7/17
to Project Jupyter
On 7 February 2017 at 04:57, David Ketcheson <dke...@gmail.com> wrote:
In the menu shown at http://ipywidgets.readthedocs.io/en/latest/embedding.html, the first option is "save notebook with widgets", which I guess saves the entire widget state in the notebook so that if I upload it and view it (say in nbviewer) the widget will work.  How can I get that option?

I'm guessing, but try updating ipywidgets and widgetsnbextension.

David Ketcheson

unread,
Feb 7, 2017, 9:41:28 AM2/7/17
to Project Jupyter
Thanks!  The gitter channel was very helpful.  In case anyone else is curious, this feature is only in ipywidgets 6.0, which currently is in beta (so I was able to get it by cloning master from Github).
Reply all
Reply to author
Forward
0 new messages