download_armadillo#
- download_armadillo(load: bool = True) PolyData | str[source]#
Download armadillo dataset.
- Parameters:
- Returns:
- output
pyvista.PolyData|str DataSet or filename depending on
load.
- output
Examples#
Download Python source code | Download Jupyter notebook
Plot the armadillo dataset. Use a custom camera position.
>>> from pyvista import examples
>>> import pyvista as pv
>>> cpos = pv.CameraPosition(
... position=(161.5, 82.1, -330.2),
... focal_point=(-4.3, 24.5, -1.6),
... viewup=(-0.1, 1, 0.12),
... )
>>> dataset = examples.download_armadillo()
>>> dataset.plot(cpos=cpos)
See also
- Armadillo Dataset
See this dataset in the Dataset Gallery for more info.