You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Osvaldo A Martin edited this page Oct 25, 2023
·
2 revisions
This seems to have been solved in Jupyter 7.0.6 (or maybe even 7.x) and the steps described below are no longer necessary as widgets states are saved automatically (there is an option under Settings --> Save Widget State Automatically)
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.