Light.switch_on#
Examples#
Download Python source code | Download Jupyter notebook
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()
Download Python source code | Download Jupyter notebook
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()