pyvista.examples.downloads.download_tecplot_ascii#

download_tecplot_ascii(load=True)[source]#

Download the single block ASCII Tecplot dataset.

Originally downloaded from Paul Bourke’s Sample file

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

Multiblock format with only 1 data block, simple geometric shape. If load is False, then the path of the example Tecplot file is returned.

Examples

Plot the example Tecplot dataset.

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

See also

Tecplot Ascii Dataset

See this dataset in the Dataset Gallery for more info.