pyvista.examples.downloads.download_can#
- download_can(partial=False, load=True)[source]#
Download the can dataset mesh.
File obtained from Kitware. Used for testing hdf files.
- Parameters:
- Returns:
pyvista.PolyData
,str
,or
list
[str
]The example ParaView can DataSet or file path(s).
Examples
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.