How make glyph tap without actual tapping?

Hello everyone,

quick question. I have a glyph with a TapTool. Two data ColumnDataSources, one for the plot, second for a selected point. When I tap on the glyph, it fixes a point and paints it the other color.

Can I make the same behavior without actually tapping, only changing the second CDS data ? But how to make a “tap” even without actual tapping ?

There’s not any supported user-facing API to simulate tap events. There might be some other way to accomplish what you want but the question is too vague with too many different possible interpretations of some parts. It is always advised to focus questions with real, actual code, i.e. a Minimal Reproducible Example, to help others efficiently help you.