[Matplotlib-users] blit example on MacOS with ipython

2008-12-10 Thread pierre garrigues
Hi, I have taken the blit example and modified it such that it runs on my mac. The function is called blit_ex.py. It works well when I paste the code in ipython, but it doesn't when I do run blit_ex.py from ipython. I am using EPD Py25 4.1.30001_beta1 and Mac OS 10.5. The error message is: In

Re: [Matplotlib-users] blit example on MacOS with ipython

2008-12-10 Thread John Hunter
On Wed, Dec 10, 2008 at 5:20 PM, pierre garrigues [EMAIL PROTECTED] wrote: # create the initial line x = np.linspace(-3, 3, 1000) line, = plt.plot(x, np.sin(x), animated=True) # save the clean slate background -- everything but the animated line # is drawn and saved in the pixel buffer