Theme.lighting

Theme.lighting#

property Theme.lighting: bool[source]#

Return or set whether lighting is enabled by default.

Examples#

Download Python source code | Download Jupyter notebook

Disable lighting globally.

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