excuse me, but why python saving only part of animation as mpeg4, how to save the full animation? (this example from matplotlib library)
Please Visit https://matplotlib.org/gallery/animation/animate_decay.html
ani = animation.FuncAnimation(fig, run, data_gen, blit=False, interval=10, repeat=False, init_func=init)
#this is my line of code
ani.save('decay.mp4', fps=30, extra_args=['-vcodec', 'libx264'])
plt.show()