class matplotlib.animation.FuncAnimation(fig, func, frames=None, init_func=None, fargs=None, save_count=None, *, cache_frame_data=True, **kwargs)
[source]
Makes an animation by repeatedly calling a function func.
Parameters: |
|
---|
__init__(self, fig, func, frames=None, init_func=None, fargs=None, save_count=None, *, cache_frame_data=True, **kwargs)
[source]
Initialize self. See help(type(self)) for accurate signature.
__init__ (self, fig, func[, frames, ...]) | Initialize self. |
new_frame_seq (self) | Return a new sequence of frame information. |
new_saved_frame_seq (self) | Return a new sequence of saved/cached frame information. |
save (self, filename[, writer, fps, dpi, ...]) | Save the animation as a movie file by drawing every frame. |
to_html5_video (self[, embed_limit]) | Convert the animation to an HTML5 <video> tag. |
to_jshtml (self[, fps, embed_frames, ...]) | Generate HTML representation of the animation |
new_frame_seq(self)
[source]
Return a new sequence of frame information.
new_saved_frame_seq(self)
[source]
Return a new sequence of saved/cached frame information.
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.animation.FuncAnimation.html