Property.lighting#
Examples#
Download Python source code | Download Jupyter notebook
Get the default lighting and visualize it
>>> import pyvista as pv
>>> prop = pv.Property()
>>> prop.lighting
True
>>> prop.plot()
Visualize disabled lighting.
>>> prop.lighting = False
>>> prop.plot()