pyvista.plotting.themes.Theme.lighting

Contents

pyvista.plotting.themes.Theme.lighting#

property Theme.lighting: bool[source]#

Return or set the default lighting.

Examples

Disable lighting globally.

>>> import pyvista as pv
>>> pv.global_theme.lighting = False