Theme.volume_mapper

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#

Download Python source code | Download Jupyter notebook

Set default volume mapper globally to ‘gpu’.

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