How can I dynamically update the Box Annotation overlay of the BoxSelectTool when drawing a box on a bokeh plot? After a certain value has been exceeded for the width/height of the box, I need to change the line color to red. Currently it is black.
I do not mean I want to change the styling of the glyph of the resulting selection or the resulting outline box when you release your mouse. I want to change the color of the overlay of the BoxSelectTool outline box itself-- the one that appears when you are clicking (holding mouse1) and dragging to create the selection box on a bokeh plot.