pyvista.examples.downloads.download_prostar

pyvista.examples.downloads.download_prostar#

download_prostar(load=True)[source]#

Download a prostar dataset.

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_prostar()
>>> mesh.plot()
../../../_images/pyvista-examples-downloads-download_prostar-1_00_00.png

See also

Prostar Dataset

See this dataset in the Dataset Gallery for more info.