Sentient Meat

home

Installing JSAnimation for IPython Notebooks

01 Mar 2014

To enable javascript animations in IPython Notebooks, first download the package from Jake Vanderplas' GitHub repository by running:

git clone https://github.com/jakevdp/JSAnimation.git

To install the library for Python2.7-ish run

cd JSAnimation/
python2 setup.py install --user

You can then enable JSAnimation within an IPython notebook with

from JSAnimation.IPython_display import display_animation