☰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

Simulating click events for testing

Community Support
kushalkolar
kushalkolar

I’m wondering if bokeh has a framework for GUI testing, similar to what’s available for PyQt5, that can be used for testing within bokeh server using Python (no JS ideally).

For example, if I have a Circle glyph in a figure, I would like to simulate mouse click events on specific points in the glyph to test that my python callbacks are triggered. These callbacks may update another glyph, such as an Image, and I want to assert that the image is drawn correctly based on the clicks on the Circle glyph.

I looked into bokeh.events but it doesn’t seem to simulate mouse click events.
http://docs.bokeh.org/en/1.3.2/docs/reference/events.html

Thanks!

⌁   Link to post

End of archived discussion · Replies are disabled