holoviz / holoviews

With Holoviews, your data visualizes itself.
https://holoviews.org
BSD 3-Clause "New" or "Revised" License
2.66k stars 397 forks source link

`merge_tool=True` combines two separate tools into one and makes it unclickable #6140

Open ahuang11 opened 4 months ago

ahuang11 commented 4 months ago

It's unclickable, and setting merge_tools=False makes all tools disappear.

https://github.com/holoviz/holoviews/assets/15331990/17422349-c09d-40e0-9aa8-9b35a4e31cf3

The workaround is to use pn.Row(p1, p2)

hoxbro commented 4 months ago

Try playing around with merge_tools here:

https://github.com/holoviz/holoviews/blob/9e5f904f39ecd0ea025dd93147a7498ac1c32f32/holoviews/plotting/bokeh/util.py#L387-L420

Try giving the tooltip icons different names; I think this will prevent them from merging.

ahuang11 commented 4 months ago

Thanks setting different tooltip names made it work.