-
Notifications
You must be signed in to change notification settings - Fork 949
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
feature request for clearing widget state on Jupyter Lab #2565
Comments
Such a command would I think just need to call the widget manager's clear_state method ipywidgets/packages/jupyterlab-manager/src/manager.ts Lines 406 to 410 in a311d75
|
What happens if you have live widgets (in kernel, and with views on page), and clear the state, let syncing happen, then save state? |
Hi @vidartf, what do you mean by
Do you mean properly closing the widget? |
My question was kind of multiple questions in one:
|
I would like to have a button on Jupyter Lab that clears widget state. Checking the "Save Widget State Automatically" option on Jupyter Lab saves widget state, but I often end up with widget state remaining from previously overwritten widgets (e.g. deleting the widget cell without properly closing the widget).
This issue originated on a previous issue: #2563
The text was updated successfully, but these errors were encountered: