The animation process in Matplotlib can be thought of in 2 different ways: FuncAnimation: Generate data for first frame and then modify this data for each frame to create an animated plot.