solgaardlab / dphox

MIT License
18 stars 3 forks source link

toggle layers on/off interactively #2

Open joamatab opened 3 years ago

joamatab commented 3 years ago

Hi Sunil, your holoviews plots look really good

an interactive way to toggle layers on/off would be great

what do you think of using something like this? https://holoviews.org/user_guide/Customizing_Plots.html

sunilkpai commented 3 years ago

Yeah, I totally agree with you that would be ideal. I tried to do the simplest possible thing with holoviews first (just plot the device and use exclude_layers to mimic this capability). But ultimately this would require some custom plot hooks and buttons to the side of the plot, which shouldn't be too bad. Not sure when I'll get time to implement it, but definitely something I'd love to add :)

sunilkpai commented 3 years ago

Actually, this may be one route: https://github.com/holoviz/holoviews/issues/3882