pyvista.examples.downloads.download_lshape

pyvista.examples.downloads.download_lshape#

download_lshape(load=True)[source]#

Download LShape dataset in EnSight format.

Parameters:
loadbool, default: True

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

Returns:
pyvista.MultiBlock | str

DataSet or filename depending on load.

Examples

Load and plot the dataset.

>>> from pyvista import examples
>>> mesh = examples.download_lshape()['all']
>>> warped = mesh.warp_by_vector(factor=30)
>>> warped.plot(scalars='displacement')
../../../_images/pyvista-examples-downloads-download_lshape-1_00_00.png

See also

Lshape Dataset

See this dataset in the Dataset Gallery for more info.