switch_on

Light.switch_on()

Switch on the light.

Examples

Create a light, switch it off and switch it back on again.

>>> import pyvista as pv
>>> light = pv.Light()
>>> light.on = False
>>> light.switch_on()