Using this example ( http://matplotlib.org/examples/animation/double_pendulum_animated.html ) in an iPython Notebook on Mac OS 10.9 and version 1.4.3 of matplotlib. I encounter infinite recursion. See notebook here ( http://nbviewer.ipython.org/github/jakirkham/double_pendulum_animated/blob/master/double_pendulum_animated.ipynb ).