pyvista.examples.examples¶

Built-in examples that ship with PyVista and do not need to be downloaded.

Examples¶

>>> from pyvista import examples
>>> mesh = examples.load_ant()
>>> mesh.plot()

Functions

load_airplane()

Load ply airplane mesh.

load_ant()

Load ply ant mesh.

load_channels()

Load a uniform grid of fluvial channels in the subsurface.

load_explicit_structured([dims, spacing])

Load a simple explicit structured grid.

load_globe()

Load a globe source.

load_globe_texture()

Load a vtk.vtkTexture that can be applied to the globe source.

load_hexbeam()

Load a sample UnstructuredGrid.

load_random_hills()

Create random hills toy example.

load_rectilinear()

Load a sample uniform grid.

load_sphere()

Load sphere ply mesh.

load_sphere_vectors()

Create example sphere with a swirly vector field defined on nodes.

load_spline()

Load an example spline mesh.

load_structured()

Load a simple StructuredGrid.

load_uniform()

Load a sample uniform grid.