pyvista.demos.demos.plot_datasets#

plot_datasets(dataset_type=None)[source]#

Plot the pyvista dataset types.

This demo plots the following PyVista dataset types:

Parameters:
dataset_typestr, optional

If set, plot just that dataset. Must be one of the following:

  • 'PolyData'

  • 'UnstructuredGrid'

  • 'ImageData'

  • 'RectilinearGrid'

  • 'StructuredGrid'

Examples

>>> from pyvista import demos
>>> demos.plot_datasets()
../../../_images/pyvista-demos-demos-plot_datasets-1_00_00.png