You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Applications are open for the 2018 John Hunter Matplotlib Summer Fellowship. Apply now!
Version 2.2.2.post1772+gd9240e24b
matplotlib
Fork me on GitHub

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.
ensure_not_dirty() If dirty, reasks the writers if they are available
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.
reset_available_writers() Reset the available state of all registered writers
set_dirty() Sets a flag to re-setup the writers.
ensure_not_dirty()[source]

If dirty, reasks the writers if they are available

is_available(name)[source]

Check if given writer is available by name.

Parameters:
name : str
Returns:
available : 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
reset_available_writers()[source]

Reset the available state of all registered writers

set_dirty()[source]

Sets a flag to re-setup the writers.