# Examples from pyvista.examples.downloads.download_gif_simple
# ============================================================

# 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 https://docs.pyvista.org/api/examples/dataset_gallery.html#gif-simple-dataset
#     See this dataset in the Dataset Gallery for more info.

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

