[IPython-dev] Static widgets

Raymond Yee raymond.yee at gmail.com
Wed Jan 29 13:22:31 EST 2014


I second the questions from Cyrille.  My naive mind thinks immediately
of what Jake Vanderplas demonstrated in
http://jakevdp.github.io/blog/2013/12/05/static-interactive-widgets/ --
the ability to have the functionality of "static interactive widgets" is
something I'd love to see in the realm of IPython widgets.

Enthusiastically,
-Raymond

On 1/29/14 10:16 AM, Cyrille Rossant wrote:
> Hi,
>
> I just tried the notebook widgets, and they look really great. I'm
> wondering how widgets integrate with the nbformat, nbviewer,
> nbconvert, etc. It seems to me that, currently, widgets are not saved
> in .ipynb at all? It might be interesting to have the option to output
> them statically in some sort (even if they do not interact with
> anything).
>
> For instance, when viewing a notebook containing widgets on nbviewer,
> those widgets do not appear at all. One needs to download and execute
> the notebook in an IPython session to see how the widgets look like.
>
> More generally, I'm thinking about how one could create offline
> interactive documents with IPython. A notebook containing widgets
> could be converted in HTML with nbconvert. The HTML document would
> contain Javascript placeholders for function callbacks, and one would
> be free to write custom Javascript code responding to widget
> interactivity (thereby replacing Python by Javascript in the
> interaction loop). That would be really cool. Is that something that's
> going to be possible at some point?
>
> Best,
> Cyrille
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev




More information about the IPython-dev mailing list