Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions lib/matplotlib/animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -951,9 +951,21 @@ def save(self, filename, writer=None, fps=None, dpi=None, codec=None,
filename : str
The output filename, e.g., :file:`mymovie.mp4`.

writer : `MovieWriter` or str, default: :rc:`animation.writer`
A `MovieWriter` instance to use or a key that identifies a
class to use, such as 'ffmpeg'.
writer : `AbstractMovieWriter` subclass or str, default: :rc:`animation.writer`
The writer used to grab the frames and create the movie file.
This can be an instance of an `AbstractMovieWriter` subclass or a
string. The builtin writers are

================== ==============================
str class
================== ==============================
'ffmpeg' `.FFMpegWriter`
'ffmpeg_file' `.FFMpegFileWriter`
'imagemagick' `.ImageMagickWriter`
'imagemagick_file' `.ImageMagickFileWriter`
'pillow' `.PillowWriter`
'html' `.HTMLWriter`
================== ==============================

fps : int, optional
Movie frame rate (per second). If not set, the frame rate from the
Expand Down
Loading