# Examples from pyvista.examples.Example
# ======================================

# Look up an example. This resolves its files but does not read them.
from pyvista import examples
frog = examples.get_example('frog')
frog.name

# It is stored as two files, but only one of them is read.
len(frog.paths)
len(frog.readers)

# Sizes are in bytes, one per path, so examples compare directly.
bunny = examples.get_example('bunny')
sum(frog.file_sizes) > sum(bunny.file_sizes)

# Read the dataset itself.
mesh = frog.load()
mesh.n_cells

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