Animation using a fixed set of Artist
objects.
Before creating an instance, all plotting should have taken place and the relevant artists saved.
Note
You must store the created Animation in a variable that lives as long as the animation should run. Otherwise, the Animation object will be garbage-collected and the animation stops.
Figure
The figure object used to get needed events, such as draw or resize.
Each list entry is a collection of Artist
objects that are made visible on the corresponding frame. Other artists are made invisible.
Delay between frames in milliseconds.
The delay in milliseconds between consecutive animation runs, if repeat is True.
Whether the animation repeats when the sequence of frames is completed.
Whether blitting is used to optimize drawing.
| |
| Return a new sequence of frame information. |
| Return a new sequence of saved/cached frame information. |
| Pause the animation. |
| Resume the animation. |
| Save the animation as a movie file by drawing every frame. |
| Convert the animation to an HTML5 |
| Generate HTML representation of the animation. |
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.animation.ArtistAnimation.html