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

Interactive widgets on nbviewer #318

Closed
SylvainCorlay opened this issue Jan 14, 2016 · 5 comments
Closed

Interactive widgets on nbviewer #318

SylvainCorlay opened this issue Jan 14, 2016 · 5 comments
Labels
discussion resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Milestone

Comments

@SylvainCorlay
Copy link
Member

With all the work that is being done on the embedding of interactive widgets in other web applications than the notebook, the elephant in the room in my opinion is nbviewer.

To render "static" widgets on nbviewer, in addition to serving the javascript of jupyter-js-widgets, we will need to define the best way to store the widget state in or with the notebook file.

I think that it is a good time to start the discussion on how we can get there from a practical viewpoint.

@danielballan
Copy link

On the subject of on storing widget state with the notebook file, here is the "Widget History" demo I was showing at SciPy. It relies on historydict a dictionary that remembers the history of all its keys, backed by a sqlite file.

https://gist.github.com/anonymous/ca3a6ed4a2228d64c398

@MatsGustavsson
Copy link

Sylvain,
Do you know if there has been any progress on this topic? I would love to use nbviewer for this!

@jasongrout jasongrout added this to the Backlog milestone Nov 8, 2016
@jasongrout
Copy link
Member

This was fixed in ipywigets 6.0

@jasongrout jasongrout modified the milestones: 6.0, Future Jul 26, 2017
@rishabhmulani
Copy link

rishabhmulani commented Apr 30, 2018

Hi everyone!
I've uploaded an ipython notebook in a public repository which I'm trying to view through nbviewer. Please note that this notebook contains loads of interactive widgets (ipywidgets) and plots using bqplot and plotly. Neither these plots nor the ipywidgets show up in the nbviewer.
Any solutions to this issue?

@jasongrout
Copy link
Member

You need to save the widget notebook state to embed that state in the notebook: http://ipywidgets.readthedocs.io/en/latest/embedding.html#save-notebook-widget-state

@github-actions github-actions bot added the resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Feb 7, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
discussion resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Projects
None yet
Development

No branches or pull requests

5 participants