Link tap selection between plots

What is the best way to link tap selection on multiple plots ?

In my example I have gv.Polygon displayed on a map and hv.Segments corresponding to these Polygons on another plot. I would like that when a Polygon is selected (by tapping on it), the corresponding segment (same index) gets selected too (and same thing when selecting a Segment…)

And later I’ll also need to change these selections with widgets.

I’m not really sure if I must use a Panel mechanism or a Holoviews one to do that.


Ok, I got it. I didn’t think it could be as simple as that.

I did

dlink = DataLink(acqBars, ft)

Hope it can help future readers.