download_lshape

download_lshape#

download_lshape(load: bool = True) MultiBlock | str[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:
outputpyvista.MultiBlock | str

DataSet or filename depending on load.

Examples#

Download Python source code | Download Jupyter notebook

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-731dd22409de3a55_00_00.png

See also

Lshape Dataset

See this dataset in the Dataset Gallery for more info.