download_vtk#
- download_vtk(load=True)[source]#
Download vtk dataset.
- Parameters:
- loadbool,
optional
Load the dataset after downloading it when
True
. Set this toFalse
and only the filename will be returned.
- loadbool,
- Returns:
pyvista.PolyData
orstr
DataSet or filename depending on
load
.
Examples
>>> from pyvista import examples >>> dataset = examples.download_vtk() >>> dataset.plot(cpos="xy", line_width=5)