-
Notifications
You must be signed in to change notification settings - Fork 133
Description
Original report (archived issue) by Benjamin Brown (Bitbucket: Benjamin Brown).
This is a forward-looking bug notice.
When grabbing Keaton's branch and testing one of the 2d problems, I noticed that the liveplot routines weren't posting anything to the screen. The problem likely stems from incompatibilities between how matplotlib does animations and what mac os allows. This is a known and currently unresolvable issue (e.g., matplotlib/matplotlib#531) having to do with the macosx backend.
One short term solution is to output individual frames, and then stitch them together after the fact. To do this in the various liveplot.py, replace
fig.canvas.draw()
with
fig.savefig("frame_"+str("{0:04}").format(i)+".png", dpi=200)
or similar.
Here's a possible longer term workaround:
http://nbviewer.ipython.org/urls/raw.github.com/jakevdp/matplotlib_pydata2013/master/notebooks/05_Animations.ipynb
Haven't tested it yet, as I don't know how to open Ipython notebooks yet.