About Lesson
Join the conversation
![](https://codanics.com/wp-content/uploads/2023/10/IMG_20231001_061900_529-1.jpg)
MashaAllah
Reply
# Save the animation as a video file (e.g., mp4)
animation.save('animated_plot.mp4', writer='ffmpeg', fps=30)
plt.show()
Reply
# Save the animation as a GIF file
animation.save('animated_plot.gif', writer='imagemagick', fps=30)
plt.show()
Reply
![](https://codanics.com/wp-content/uploads/2023/10/e24e3cc0-f9cd-49cc-9e5e-e7fea619bd42.jpg)
Done this video.
Reply
![](https://codanics.com/wp-content/uploads/2024/05/My_profile_pic.jpg)
practice done 100% animated plot in Python.
Reply
![](https://codanics.com/wp-content/uploads/2023/10/WhatsApp-Image-2023-10-03-at-12.33.51-PM.jpeg)
Stunning
Reply