pyvista.examples.downloads.download_particles_lethe#
- download_particles_lethe(load=True)[source]#
Download a particles dataset generated by lethe .
- Parameters:
- Returns:
pyvista.UnstructuredGrid
|str
DataSet or filename depending on
load
.
Examples
Download the particles dataset and plot it after generating glyphs.
>>> from pyvista import examples >>> particles = examples.download_particles_lethe() >>> particles.plot( ... render_points_as_spheres=True, ... style='points', ... scalars='Velocity', ... background='w', ... scalar_bar_args={'color': 'k'}, ... cmap='bwr', ... )
See also
- Particles Lethe Dataset
See this dataset in the Dataset Gallery for more info.