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

Save widget state in notebook save #516

Closed
blois opened this issue Apr 22, 2019 · 0 comments
Closed

Save widget state in notebook save #516

blois opened this issue Apr 22, 2019 · 0 comments

Comments

@blois
Copy link
Contributor

blois commented Apr 22, 2019

Currently when ipywidgets are used and the notebook is saved then re-opened the widgets are not rendered on open.

There are a number of hidden complexities here:

  • We do have the widget state in the notebook model and can serialize it into the .ipynb file, but on load we need to figure out how to disambiguate widget model state carried over from the previous execution session and widget model state from the current kernel.
  • The widget binary that we're currently rendering has a very leaky public API which is difficult to guarantee backwards compatibility. Currently we're making it fairly obvious by not persisting at all. This has a lot of overlap with Support installation of custom widgets. #498.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant