pyvista.plotting.themes.Theme.volume_mapper

pyvista.plotting.themes.Theme.volume_mapper#

property Theme.volume_mapper: str[source]#

Return or set the default volume_mapper parameter.

Must be one of the following strings, which are mapped to the following VTK volume mappers.

Examples

Set default volume mapper globally to ‘gpu’.

>>> import pyvista as pv
>>> pv.global_theme.volume_mapper = 'gpu'