filename (Path | str) – Filename for the movie (omit to use a GUI).
time_dilation (float) – Factor by which to stretch time (default 4). Time dilation is
controlled through the frame-rate; if the fps keyword argument
is specified, time_dilation is ignored.
... – imageio.mimwrite() parmeters.
Notes
For a given size (figure width and height in inches), control export
resolution through pyplot.rcParams['figure.dpi'].