download_gif_simple#
- download_gif_simple(load: bool = True) ImageData | str[source]#
Download a simple three frame GIF.
- Parameters:
- Returns:
- output
pyvista.ImageData|str DataSet or filename depending on
load.
- output
Examples#
Download Python source code | Download Jupyter notebook
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.