opened 04:09AM - 20 Jun 20 UTC
type: feature
tag: component: bokehjs
*[I have edited this old issue to reflect other recent changes and features]*
…
Tooltips were generalized in https://github.com/bokeh/bokeh/pull/12154 in order to support richer content and also the ability to be "persistent". Currently these tooltips are geared towards use with other widgets. However, users want to be able to use persistent tooltips on the canvas, both by explicitly creating and positioning them manually, and by having some option for hover tooltips to "stick".
I believe it is currently technically possible to attach new tooltips to the canvas, but I am not aware of any examples that show how to do this, and it's not clear how users would, e.g. position within the plot frame using data coordinates.
I believe these are the follow-on tasks that would make sense:
* Have the `HoverTool` use the new tooltips and also expose a way for users to make them persistent, e.g. by clicking on a point
* Make it easy for users to add tooltips in data space coordinates from `CustomJS` and Python callbacks, and document/demonstrate these tasks
@mattpap please let me know if I have not summarized the current situation correctly here in some way