matplotlib.animation.MovieWriterRegistry
- class matplotlib.animation. MovieWriterRegistry [source]
-
Registry of available writer classes by human readable name.
- __init__ ( ) [source]
Methods
__init__
()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.5.1/api/_as_gen/matplotlib.animation.MovieWriterRegistry.html