We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ce976e commit e23c884Copy full SHA for e23c884
1 file changed
mne/viz/backends/_pyvista.py
@@ -256,6 +256,8 @@ def _to_pos(elevation, azimuth):
256
257
# Inspired from Mayavi's version of Raymond Maple 3-lights illumination
258
lights = list(self.plotter.renderer.GetLights())
259
+ headlight = lights.pop(0)
260
+ headlight.SetSwitch(False)
261
for i in range(len(lights)):
262
if i < 3:
263
lights[i].SetSwitch(True)
0 commit comments