matplotlib.animation.MovieWriterRegistry
-
class matplotlib.animation.MovieWriterRegistry
-
Registry of available writer classes by human readable name.
-
__init__()
Methods
__init__
()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()
-
If dirty, reasks the writers if they are available
-
is_available(name)
-
Check if given writer is available by name.
Parameters: name : str Returns: available : bool
-
list()
-
Get a list of available MovieWriters.
-
register(name)
-
Decorator for registering a class under a name.
Example use:
@registry.register(name) class Foo: pass
-
reset_available_writers()
-
Reset the available state of all registered writers
-
set_dirty()
-
Sets a flag to re-setup the writers.
-
© 2012–2017 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
http://matplotlib.org/2.1.0/api/_as_gen/matplotlib.animation.MovieWriterRegistry.html