pyvista.plotting.themes.Theme.opacity#

property Theme.opacity: float[source]#

Return or set the opacity.

Examples

>>> import pyvista as pv
>>> pv.global_theme.opacity = 0.5