pyvista.examples.downloads.download_shark#

download_shark(load=True)[source]#

Download shark dataset.

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 = [
...     [-2.3195e02, -3.3930e01, 1.2981e02],
...     [-8.7100e00, 1.9000e-01, -1.1740e01],
...     [-1.4000e-01, 9.9000e-01, 2.0000e-02],
... ]
>>> dataset = examples.download_shark()
>>> dataset.plot(cpos=cpos, smooth_shading=True)
../../../_images/pyvista-examples-downloads-download_shark-1_00_00.png

See also

Shark Dataset

See this dataset in the Dataset Gallery for more info.