I use ipywidgets to display asynchronous results from processes.
import ipywidgets as widgets
results = widgets.HTML()
display(results)
It works well, results appear correctly, but when the notebook is saved, the widgets are not there anymore. Is there a way to save them with the notebook?
There should be a menu entry in the "Widgets" menu to "Save notebook widget state". This is disabled by default to prevent widget state from bloating the notebook (widget state can often become quite large).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With