☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

How make glyph tap without actual tapping?

Community Support
laps.tallinnas
laps.tallinnas

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 ?

⌁   Link to post
Bryan
Bryan

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.

⌁   Link to post

End of archived discussion · Replies are disabled