Hi,
Apologies for accidentally posting this as a reply to previous post initially.
I am trying to use box select with the VBar glyph but the interaction appears to be broken.
Using bokeh serve with the following code illustrates the problem.
from bokeh.models import ColumnDataSource
from bokeh.plotting import curdoc, figure
import logging
logger = logging.getLogger(‘test’)
def on_selection_change(attr, new, old):
logger.info(‘selection change’)
source = ColumnDataSource(data=dict(bins=[0, 1, 2], counts=[1, 10, 20]))
doc = curdoc()
p = figure(tools=“box_select,tap”)
source.on_change(‘selected’, on_selection_change)
b = p.vbar(x = ‘bins’, bottom=0, width=1, top=‘counts’ , source=source)
c = p.circle(x=‘bins’, y=‘counts’, source=source)
doc.add_root(p)
Using vbar tap tool fires the selection change but box select does not.
Using circle both tools fire the selection change.
I assume this is a bug. I’ll file a problem report.
Geoff.

