[yt-dev] IPython 2.0 widgets

Nathan Goldbaum nathan12343 at gmail.com
Wed Feb 12 23:43:41 PST 2014


Hi all,

I want to share a cool notebook I just made with you all. It uses an
IPython 2.0 javascript widget to interactively control a yt SlicePlot.
Since the widget needs to talk to a live kernel, you'll need to run
the notebook locally to get the full awesomeness.

http://nbviewer.ipython.org/gist/ngoldbaum/8971185

This took me all of ten minutes to set up based on Fernando's example
[1] and works pretty much out of the box with IPython 2.0.

I highly encourage you to clone the IPython repo and test out the new
version on the master branch. I think this will open up a lot of room
for interactivity and discovery with yt's plot objects.

-Nathan

[1] https://twitter.com/fperez_org/status/433856794436194304



More information about the yt-dev mailing list