I’m trying to replicate the way interacting with graphs works in other programs that I’m used to.
In Bokeh (and plotly… and highcharts… and mpld3…), when you click on an item in the legend, that item is hidden or muted.
Is there a way to make it so the opposite happens, i.e. all other items except the one clicked on get hidden or muted? I’ve heard there isn’t plumbing set up to do callbacks on the legend object, but is this sort of thing possible by building other GUI elements to create a mock legend?
I have some python experience, but I don’t know very much about web development (HTML, JS). I’m willing to learn, but there is a lot of jargon I’m still not familiar with.
There is not currently, but there is a similar open issue about having the legend highlight the corresponding glyph on hover, which seems similar. Please chime in with any thoughts
I'm trying to replicate the way interacting with graphs works in other programs that I'm used to.
In Bokeh (and plotly.. and highcharts... and mpld3...), when you click on an item in the legend, that item is hidden or muted.
Is there a way to make it so the opposite happens, i.e. all other items except the one clicked on get hidden or muted? I've heard there isn't plumbing set up to do callbacks on the legend object, but is this sort of thing possible by building other GUI elements to create a mock legend?
I have some python experience, but I don't know very much about web development (HTML, JS). I'm willing to learn, but there is a lot of jargon I'm still not familiar with.