pyvista.examples.downloads.download_great_white_shark

pyvista.examples.downloads.download_great_white_shark#

download_great_white_shark(load=True)[source]#

Download great white shark dataset.

Added in version 0.45.

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.PolyData | str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> cpos = [(9.0, 1.0, 21.0), (-1.0, 2.0, -2.0), (0.0, 1.0, 0.0)]
>>> dataset = examples.download_great_white_shark()
>>> dataset.plot(cpos=cpos, smooth_shading=True)
../../../_images/pyvista-examples-downloads-download_great_white_shark-1_00_00.png

See also

Great White Shark Dataset

See this dataset in the Dataset Gallery for more info.

Shark Dataset

Similar dataset.

Grey Nurse Shark Dataset

Similar dataset.