Programming, Science, Python, Mathematics, Towards Data Science.
print("#########################################") anim=animation.FuncAnimation(fig,animate,frames=number_of_frames,interval=50,blit=False) movie_path=os.path.join(dir_path,"FluidFlowAnimation.mp4") anim.save(r"{0}".format(movie_path)) print("\nAnimation saved as FluidFlowAnimation.mp4 in Result")