depth_peeling

property ParaViewTheme.depth_peeling: pyvista.themes._DepthPeelingConfig

Return or set the default depth peeling parameters.

Examples

Set the global depth_peeling parameter default to be enabled with 8 peels.

>>> import pyvista
>>> pyvista.global_theme.depth_peeling.number_of_peels = 8
>>> pyvista.global_theme.depth_peeling.occlusion_ratio = 0.0
>>> pyvista.global_theme.depth_peeling.enabled = True