pyvista.examples.downloads.download_can_crushed_hdf#
- download_can_crushed_hdf(load=True)[source]#
 Download the crushed can dataset.
File obtained from Kitware. Used for testing hdf files.
Originally built using VTK v9.2.0rc from:
VTK/build/ExternalTesting/can-vtu.hdf- Parameters:
 - Returns:
 pyvista.UnstructuredGrid|strCrushed can dataset or path depending on the value of
load.
Examples
Plot the crushed can dataset.
>>> from pyvista import examples >>> import pyvista as pv >>> dataset = examples.download_can_crushed_hdf() >>> dataset.plot(smooth_shading=True)
See also
- Can Crushed Hdf Dataset
 See this dataset in the Dataset Gallery for more info.