Skip to content Skip to sidebar Skip to footer

How To Reset Matplotlib Animation Without Re-running Script

I'm using matplotlib's FuncAnimation function to animate a segment of a large dataset: fig = plt.figure(figsize=(15, 11.5)) ax = fig.add_subplot(111, aspect='equal', autoscale_on=F

Solution 1:

Try this:

ani.frame_seq = ani.new_frame_seq() 

Post a Comment for "How To Reset Matplotlib Animation Without Re-running Script"