pyvista.examples.downloads.download_frog#

download_frog(load=True)[source]#

Download frog 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.ImageData | str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> cpos = [
...     [8.4287e02, -5.7418e02, -4.4085e02],
...     [2.4950e02, 2.3450e02, 1.0125e02],
...     [-3.2000e-01, 3.5000e-01, -8.8000e-01],
... ]
>>> dataset = examples.download_frog()
>>> dataset.plot(volume=True, cpos=cpos)
../../../_images/pyvista-examples-downloads-download_frog-1_00_00.png

See download_frog_tissue() for segmentation labels associated with this dataset.

See Volume Rendering for an example using this dataset.