add layer hidden with neuroglancer python library

131 views
Skip to first unread message

elmar haflinger

unread,
Feb 17, 2022, 1:36:13 PM2/17/22
to Neuroglancer
Hi All,

I was studying the most simple example code
to render my multichannel ome.tiff data in neuroglancer.
And it works actually quite well!
Definitely a quality piece of software wrote.

Now what I try to do, is to load layers, but the loaded layers should by default be hidden and not visible and only become visible by clicking the tab in the top row.

I assume there is some property I can set in my "state.layers.append" function call.
But I have no idea how to figure out what the property name is.
Does any one know by heart?

Any hint and help is welcome!
Thank you, Elmar

Jeremy Maitin-Shepard

unread,
Mar 16, 2022, 4:11:15 PM3/16/22
to elmar haflinger, Neuroglancer
In case you haven't already figured it out, you can set the `visible` property to `False` to hide it by default.

--
You received this message because you are subscribed to the Google Groups "Neuroglancer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neuroglancer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/neuroglancer/228e1f73-e307-41f9-bced-cbbbc4d9f8den%40googlegroups.com.

elmar haflinger

unread,
Sep 2, 2024, 11:42:21 PM9/2/24
to Neuroglancer
sorry Jeremy,
this took me years to answer. 
this is helpful! and I did not figure it out at that time.
thank you, Elmar
Reply all
Reply to author
Forward
0 new messages