In this pet project of mine, I would like to add some interactive annotations in a graph, that is, selecting ranges through text boxes and showing them on a Figure upon clicking a button.
Seems to me I have done like the sample code in the docs say I should, but still not working as expected.
Sample code that reproduces the issue for review at https://github.com/srp0706/bokehplay.
Not sure if related or not, but the code was written using Bokeh 1.0.4 and did not have the “Sync Axes” feature. When I added that, the annotations stopped working. Then I upgraded to Bokeh 1.2.0 to check if it would be fixed, but it did not solve the issue. I then removed the new code, reverting to the old one (only annotations, no sync axes), and it still did not do the trick. What am I missing here?
Your insights are much appreciated.