Re: [Matplotlib-users] Animated artists not present in savefigged files

2010-08-23 Thread John Hunter
On Mon, Aug 23, 2010 at 7:59 AM, Kim Hansen slaun...@gmail.com wrote: Hi list, I am using animated artists to generate an animation, where I save each step in the anmantion as a png using the savefig method of the figure instance after drawing the animated artists on a cached background and

Re: [Matplotlib-users] Animated artists not present in savefigged files

2010-08-23 Thread Daπid
What I use to create animations is plainly: savefig(head+str(filecode).zfill(digits)+format, dpi=205) plt.clf() filecode+=1 where filecode is the name, digits an int and format usually .png. clf() is important in order to prevent memory leaks, because otherwise mpl stores all the figures one in