pyvista.examples.downloads.download_tensors#

download_tensors(load=True)[source]#

Download tensors dataset.

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.UnstructuredGrid | str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> dataset = examples.download_tensors()
>>> dataset.plot()
https://d33wubrfki0l68.cloudfront.net/0b40c4f43856a5a55db594e351249b8ab4df57f1/88b37/_images/pyvista-examples-downloads-download_tensors-1_00_00.png