SaveGifButton#
- class ansys.tools.visualization_interface.backends.pyvista.widgets.save_gif_button.SaveGifButton(plotter: pyvista.Plotter, animation, dark_mode: bool = False)#
Bases:
ansys.tools.visualization_interface.backends.pyvista.widgets.button.ButtonProvides GIF export control for animations.
This button exports the animation as a timestamped GIF file.
- Parameters:
- plotter
Plotter Plotter to draw the button on.
- animation
Animation Animation instance to control.
- dark_modebool,
optional Whether to activate the dark mode or not.
- plotter
Overview#
Export animation as GIF file. |
Import detail#
from ansys.tools.visualization_interface.backends.pyvista.widgets.save_gif_button import SaveGifButton