Hi have a timeserie to which I add circle glyphs, representing 2 different type of data.
I already managed to assign a different tooltip to each of them by using the suggestion presented here: https://stackoverflow.com/a/37558475/4961888
I was hoping I could use a similar syntax to assign a specific subset of the glyph to a taptool, that would bring me to a url present in the source of those glyphs.
so I tried:
fig = figure(x_axis_type="datetime", height=200, tools="tap")
fig.line(x_range, y_range)
news_points = fig.circle(x='timestamp', y='y', fill_color="green", size=5, source=news_source)
url = "@url"
taptool = fig.select(type=TapTool)
taptool.renderers.append(news_points)
taptool.callback = OpenURL(url=url)
But i receive:
AttributeError: '_list_attr_splat' object has no attribute 'renderers'
It seems to me that the taptool has a different way of being assigned glyphs than the hovertool, and I couldn't find any documentation on the web regarding my problem. I would be glad if someone with a better grip of the package could help me wrap my head around it.