pyvista.examples.downloads.download_prism

Contents

pyvista.examples.downloads.download_prism#

download_prism(load=True)[source]#

Download a prism model.

Added in version 0.44.0.

Parameters:
loadbool, default: True

Load the dataset after downloading it when True. Set this to False and only the filename will be returned.

Returns:
pyvista.UnstructuredGrid | str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> mesh = examples.download_prism()
>>> mesh.plot()
../../../_images/pyvista-examples-downloads-download_prism-1_00_00.png

See also

Prism Dataset

See this dataset in the Dataset Gallery for more info.