download_particles_lethe#
- download_particles_lethe(load: bool = True) UnstructuredGrid | str[source]#
Download a particles dataset generated by lethe .
- Parameters:
- Returns:
- output
pyvista.UnstructuredGrid|str DataSet or filename depending on
load.
- output
Examples#
Download Python source code | Download Jupyter notebook
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.