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
On Mon, Aug 23, 2010 at 7:59 AM, Kim Hansen 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 after
> fig.can