Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should "Save with Widgets" be a checkbox? #2735

Closed
dsblank opened this issue Aug 8, 2017 · 5 comments
Closed

Should "Save with Widgets" be a checkbox? #2735

dsblank opened this issue Aug 8, 2017 · 5 comments

Comments

@dsblank
Copy link
Member

dsblank commented Aug 8, 2017

If I "Save with widgets" and then a regular "Save", do I lose my widgets? If so, shouldn't "Save with widgets" just be a checkbox, so that anytime a regular save is executed, it will save the widgets too?

@rolweber
Copy link
Contributor

No, you don't lose your widgets. But they remain in the state they had when you did the "Save with widgets".

@dsblank
Copy link
Member Author

dsblank commented Aug 15, 2017

This is definitely a confusing way of handling them. I do lose the widgets, but maybe it is because I rerun the cells that generate the widgets? If it were a checkbox, then it could save the latest widgets when I save the notebook. Maybe to make it more clear, the wording could be changed to something like "Embed and Save the Current Widgets". I couldn't find any help on these options either.

@rolweber
Copy link
Contributor

Yes, if you re-run cells, that would explain why you lose the widgets.

Note that ipywidgets is a separate project. The Widgets menu is from there, not from the notebook.
https://github.com/jupyter-widgets/ipywidgets

@dsblank
Copy link
Member Author

dsblank commented Aug 15, 2017

Thanks for the info... I hadn't realized that the menu came from there. I'll put a link there to here.

Does Jupyter notebook have hooks in the save operation? If so, then "Save Widgets" should be a checkbox and hook into that.

@jtpio
Copy link
Member

jtpio commented Jun 21, 2023

Note that ipywidgets is a separate project. The Widgets menu is from there, not from the notebook.

Closing as tracked in jupyter-widgets/ipywidgets#1632.

For reference it is a checkbox in JupyterLab.

Thanks!

@jtpio jtpio closed this as completed Jun 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants