pyvista.examples.downloads.download_gif_simple#
- download_gif_simple(load=True)[source]#
Download a simple three frame GIF.
- Parameters:
- Returns:
pyvista.ImageData
|str
DataSet or filename depending on
load
.
Examples
Download and plot the first frame of a simple GIF.
>>> from pyvista import examples >>> grid = examples.download_gif_simple() >>> grid.plot( ... scalars='frame0', ... rgb=True, ... background='w', ... show_scalar_bar=False, ... cpos='xy', ... )
Plot the second frame.
>>> grid.plot( ... scalars='frame1', ... rgb=True, ... background='w', ... show_scalar_bar=False, ... cpos='xy', ... )
See also
- Gif Simple Dataset
See this dataset in the Dataset Gallery for more info.