I have a multi-indexed data source, and I would like to get the index value for each part on hover.
def _create_hover_tools():
hover = HoverTool(
tooltips=[
('index','@y')
]
)
return hover
On hover, this returns something like this:
index: (index_a_value,really_long_b_value_that_should_have_own_line,index_c_value)
I would like to be able to index the values of y, and put them on their own line, similar to this idea that doesn’t work:
tooltips=[
('index_a','@y[0]'),
('index_b','@y[1]'),
('index_c','@y[2]'),
]
Thank you for your time.

