-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Description
To follow up on this, the current call to HTMLWriter
only passes three arguments:
matplotlib/lib/matplotlib/animation.py
Lines 1359 to 1361 in 6b2cecc
writer = HTMLWriter(fps=fps, | |
embed_frames=embed_frames, | |
default_mode=default_mode) |
but there are several more parameters that it could set:
matplotlib/lib/matplotlib/animation.py
Lines 796 to 798 in 6b2cecc
def __init__(self, fps=30, codec=None, bitrate=None, extra_args=None, | |
metadata=None, embed_frames=False, default_mode='loop', | |
embed_limit=None): |
So we could thread through the frame_format
parameter in this PR, but I think it might be better handled in a separate PR that focuses entirely on exposing internal animation parameters. This I think is independent of the issue in this thread, where the rcParams does not allow us to set a default at all currently. Fixing the rcparams check (#17909 ) seems necessary to me, exposing more API seems nice-to-have.
Originally posted by @bmcfee in #17908 (comment)