A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://matplotlib.org/stable/api/_as_gen/matplotlib.animation.ArtistAnimation.html below:

matplotlib.animation.ArtistAnimation — Matplotlib 3.10.3 documentation

matplotlib.animation.ArtistAnimation#
class matplotlib.animation.ArtistAnimation(fig, artists, *args, **kwargs)[source]#

TimedAnimation subclass that creates an animation by 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.

Parameters:
figFigure

The figure object used to get needed events, such as draw or resize.

artistslist

Each list entry is a collection of Artist objects that are made visible on the corresponding frame. Other artists are made invisible.

intervalint, default: 200

Delay between frames in milliseconds.

repeat_delayint, default: 0

The delay in milliseconds between consecutive animation runs, if repeat is True.

repeatbool, default: True

Whether the animation repeats when the sequence of frames is completed.

blitbool, default: False

Whether blitting is used to optimize drawing.

__init__(fig, artists, *args, **kwargs)[source]#

Methods


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4