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()
https://d33wubrfki0l68.cloudfront.net/5549af057fd8c95c6e60afd1eddc947adfee1d12/b836a/_images/pyvista-demos-demos-plot_datasets-1_00_00.png