🌐 AI搜索 & 代理 主页
Skip to content

Commit 88e62bd

Browse files
author
Saumya
committed
DOC: Fix docstring formatting for FFMpegFileWriter
- Move Parameters section to correct location - Add blank line before Parameters section - Follow NumPy docstring conventions
1 parent 79b6be0 commit 88e62bd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/matplotlib/animation.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -606,16 +606,17 @@ class FFMpegFileWriter(FFMpegBase, FileMovieWriter):
606606
"""
607607
File-based ffmpeg writer.
608608
609-
Parameters
610-
----------
611-
*args, **kwargs
612-
All arguments are forwarded to `FileMovieWriter`.
613-
614609
Frames are written to temporary files on disk and then stitched together at the end.
615610
616611
This effectively works as a slideshow input to ffmpeg with the fps passed as
617612
``-framerate``, so see also `their notes on frame rates`_ for further details.
618613
614+
Parameters
615+
----------
616+
*args, **kwargs
617+
All arguments are forwarded to `FileMovieWriter`. See
618+
`FileMovieWriter` for a list of all possible parameters.
619+
619620
.. _their notes on frame rates: https://trac.ffmpeg.org/wiki/Slideshow#Framerates
620621
"""
621622
supported_formats = ['png', 'jpeg', 'tiff', 'raw', 'rgba']

0 commit comments

Comments
 (0)