W3cubDocs

/Matplotlib 3.1

matplotlib.animation.MovieWriterRegistry

class matplotlib.animation.MovieWriterRegistry [source]

Registry of available writer classes by human readable name.

__init__(self) [source]

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

Methods

__init__(self) Initialize self.
ensure_not_dirty(self) If dirty, reasks the writers if they are available
is_available(self, name) Check if given writer is available by name.
list(self) Get a list of available MovieWriters.
register(self, name) Decorator for registering a class under a name.
reset_available_writers(self) Reset the available state of all registered writers
set_dirty(self) Sets a flag to re-setup the writers.
ensure_not_dirty(self) [source]

If dirty, reasks the writers if they are available

is_available(self, name) [source]

Check if given writer is available by name.

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

Get a list of available MovieWriters.

register(self, name) [source]

Decorator for registering a class under a name.

Example use:

@registry.register(name)
class Foo:
    pass
reset_available_writers(self) [source]

Reset the available state of all registered writers

set_dirty(self) [source]

Sets a flag to re-setup the writers.

© 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.MovieWriterRegistry.html