help > Scripting show dark/hide bright commands in the gui
Apr 14, 2021  02:04 AM | nagedem
Scripting show dark/hide bright commands in the gui
Dear Surf-ice users, 

I want to include 'show dark, hide bright' or vice versa ('show bright, hide dark') options in my python script. But I don't know how, is there a way?

Below is part of my script (I am loading so many regional overlay data and don't want them to interfere with each other as colors get translucent):

for i in range(len(regions)):
overlay = os.path.join(subjects_dir, subject, 'surf', 'label_surf_Destrieux_mean', 'lh.thickness.{l}.asc'.format(l=regions))
gl.overlayload(overlay)
gl.overlaycolorname(i+1, 'viridis{n}'.format(n=i))
gl.overlayinvert(i+1,1)
gl.overlayminmax(i+1,0,0)
gl.colorbarvisible(0)


I would appreciate your help!

Threaded View

TitleAuthorDate
Scripting show dark/hide bright commands in the gui
nagedem Apr 14, 2021
Chris Rorden Apr 14, 2021
nagedem Apr 14, 2021