download_great_white_shark

download_great_white_shark#

download_great_white_shark(load=True)[source]#

Download great white shark dataset.

Added in version 0.45.

Note

The origin and license of this model could not be definitively established. The file was imported from the VTK Examples test data repository, which does not document its source. Use with caution in redistributed or commercial contexts.

Parameters:
loadbool, default: True

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

Returns:
outputpyvista.PolyData | str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> import pyvista as pv
>>> cpos = pv.CameraPosition(
...     position=(9.0, 1.0, 21.0),
...     focal_point=(-1.0, 2.0, -2.0),
...     viewup=(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-95cb6eaed9407764_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.