pyvista.examples.downloads.download_tetrahedron#
- download_tetrahedron(load=True)[source]#
Download tetrahedron dataset.
- Parameters:
- Returns:
pyvista.UnstructuredGrid
|str
DataSet or filename depending on
load
.
Examples
Shrink and plot the dataset to show it is composed of several tetrahedrons.
>>> from pyvista import examples >>> dataset = examples.download_tetrahedron() >>> dataset.shrink(0.85).plot()
See also
- Tetrahedron Dataset
See this dataset in the Dataset Gallery for more info.