matplotlib.animation.
FuncAnimation
(fig, func, frames=None, init_func=None, fargs=None, save_count=None, **kwargs)¶Makes an animation by repeatedly calling a function func
.
Parameters: | fig : matplotlib.figure.Figure
func : callable
frames : iterable, int, generator function, or None, optional
init_func : callable, optional
fargs : tuple or None, optional
save_count : int, optional
interval : number, optional
repeat_delay : number, optional
repeat : bool, optional
blit : bool, optional
|
---|
__init__
(fig, func, frames=None, init_func=None, fargs=None, save_count=None, **kwargs)¶Methods
__init__ (fig, func[, frames, init_func, …]) |
|
new_frame_seq () |
|
new_saved_frame_seq () |
|
save (filename[, writer, fps, dpi, codec, …]) |
Saves a movie file by drawing every frame. |
to_html5_video ([embed_limit]) |
Returns animation as an HTML5 video tag. |
to_jshtml ([fps, embed_frames, default_mode]) |
Generate HTML representation of the animation |
new_frame_seq
()¶new_saved_frame_seq
()¶