Skip to content

Commit e23c884

Browse files
Turn off the headlight
1 parent 2ce976e commit e23c884

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

mne/viz/backends/_pyvista.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ def _to_pos(elevation, azimuth):
256256

257257
# Inspired from Mayavi's version of Raymond Maple 3-lights illumination
258258
lights = list(self.plotter.renderer.GetLights())
259+
headlight = lights.pop(0)
260+
headlight.SetSwitch(False)
259261
for i in range(len(lights)):
260262
if i < 3:
261263
lights[i].SetSwitch(True)

0 commit comments

Comments
 (0)