download_can(partial=False, load=True)[source]#

Download the can dataset mesh.

File obtained from Kitware. Used for testing hdf files.

partialbool, default: False

Load part of the dataset.

loadbool, default: True

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

pyvista.PolyData, str, or list[str]

The example ParaView can DataSet or file path(s).


Plot the can dataset.

>>> from pyvista import examples
>>> import pyvista as pv
>>> dataset = examples.download_can()  
>>> dataset.plot(scalars='VEL', smooth_shading=True)  

See also

Can Dataset

See this dataset in the Dataset Gallery for more info.

Can Crushed Hdf Dataset

Can Crushed Vtu Dataset