I have a Bokeh visualization with a HoverTool that works well and now I want to pass a Python value into the HoverTool for informational purposes. I’ve tried several approaches … that haven’t worked well.
I thought I could include a Python variable as a dict element and then access it in the tooltips list. Now I think that’s not quite right and that I need to create a Model and pass that to the HoverTool.
So I’m looking for a simple example of how to pass a Python value to a HoverTool.