download_gpr_path#

download_gpr_path(load=True)[source]#

Download GPR example path.

Parameters:
loadbool, optional

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

Returns:
pyvista.PolyData or str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> dataset = examples.download_gpr_path()
>>> dataset.plot()
../../../_images/pyvista-examples-downloads-download_gpr_path-1_00_00.png

See Drape 2D Surface From Line for an example using this dataset.