You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.0.0b1.post7580.dev0+ge487118
matplotlib
Fork me on GitHub

Related Topics

This Page

matplotlib.animation.MovieWriter.setup

MovieWriter.setup(fig, outfile, dpi=None)

Perform setup for writing the movie file.

Parameters:

fig : matplotlib.figure.Figure

The figure object that contains the information for frames

outfile : string

The filename of the resulting movie file

dpi : int, optional

The DPI (or resolution) for the file. This controls the size in pixels of the resulting movie file. Default is fig.dpi.