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 with nbconvert? #2493

Closed
choldgraf opened this issue Jul 11, 2019 · 3 comments
Closed

Save widget state with nbconvert? #2493

choldgraf opened this issue Jul 11, 2019 · 3 comments

Comments

@choldgraf
Copy link

Papermill is really useful for generating notebook reports from notebooks that have lots of widgets in them. There is a JupyterLab setting to save the widget state from a notebook so that they'll show up in nbviewer etc, but is something like this possible with Papermill? (or more generally with nbconvert etc?)

@choldgraf choldgraf changed the title Save widget state with papermill? Save widget state with nbconvert? Jul 13, 2019
@choldgraf
Copy link
Author

Thinking about this more, I don't think that this is a papermill issue, but an nbconvert issue (since nbconvert is what papermill uses). It should be possible for the saving behavior of nbconvert to be the same as the saving behavior of jupyterlab - is that currently the case?

Otherwise, how do people programmatically generate notebooks that use widgets?

@mgeier
Copy link
Contributor

mgeier commented Jan 5, 2020

If I understand your question correctly, this has been implemented in jupyter/nbconvert#900.

@maartenbreddels
Copy link
Member

Indeed, this is implemented.

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

3 participants