matplotlib / 3.4.3 / _as_gen / matplotlib.animation.moviewriterregistry.html /

matplotlib.animation.MovieWriterRegistry

class matplotlib.animation. MovieWriterRegistry [source]

Registry of available writer classes by human readable name.

__init__ ( ) [source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__() Initialize self.
is_available(name) Check if given writer is available by name.
list() Get a list of available MovieWriters.
register(name) Decorator for registering a class under a name.
is_available ( name ) [source]

Check if given writer is available by name.

Parameters:
name str
Returns:
bool
list ( ) [source]

Get a list of available MovieWriters.

register ( name ) [source]

Decorator for registering a class under a name.

Example use:

@registry.register(name)
class Foo:
    pass

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.3/api/_as_gen/matplotlib.animation.MovieWriterRegistry.html