GIFs
About GIFs
In addition to the standard image formats, UMF supports exporting plots as animated GIFs. This is done by calling the plot.save_gif
method.
Saves the given plot to a file.
Note
For gnerating GIFs, the a subfunction is used to update the plot for each frame of the animation. This subfunction is defined in the function update
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
fig | figure | The figure to save. | required |
ax_fig | Figure | The figure to save. | required |
fname | Path | The filename to save the figure to. | required |
settings | GIFSettings | The settings for the GIF. | required |
**kwargs | dict[str, Any] | Additional keyword arguments to pass to the save function. | {} |
Zoom | Rotation | Zoom + Rotation |
---|---|---|