I have a hv.Image plot, however instead of displaying
TOOLTIPS = [
("x", "$x{0,0.00} m"),
("y", "$y{0,0.00} m"),
("value", "@image"),
]
using bokeh’s HoverTool
I would like to display indexes of x and y.
if x and y are coordinates of image their indexes are obtained using np.arange(len(x)) and np.arange(len(y)) respectively.
Is there a way i can do the following logic in tooltips
TOOLTIPS = [
("x", f"{np.arange(len(x))} "),
("y", f"{np.arange(len(y))}"),
("value", "@image"),
]