-
-
Notifications
You must be signed in to change notification settings - Fork 16
Save widgets state
Osvaldo A Martin edited this page Jan 21, 2023
·
2 revisions
Every time we change a notebook example that uses widgets. We need to perform the following steps to save the widget state.
- Clear cell output
- Clear widget state (there is a "Clear Notebook Widget State" option under the Widgets menu)
- Refresh page (yep, this is important!)
- Execute cells
- Save widget state (there is a "Save Notebook Widget State" option under the Widgets menu)
If these steps are not done in this order, widgets will not render in the docs. Additionally, the size of the notebook will increase as we will save new states without actually removing the previous one.