☰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 to trigger Ajax call after a box selection is done in python bokeh plot

Community Support
Royalblue
Royalblue

I have two plots, namely, plot1 and plot2.

Plot2 has BoxSelectTool enabled and I can obtain point coordinates of the selected rectangular area using CustomJS.

Now I need to trigger an ajax call with the obtained coordinates to let server-side update plot2.

I posted the question at the StackOverflow:

https://stackoverflow.com/questions/50853416/how-to-trigger-ajax-call-after-a-box-selection-is-done-in-python-bokeh-plot

It would be great if someone give me a help.

Thank you

–Sijun

⌁   Link to post
Royalblue
Royalblue

I posted my own answer that solves using custom Event in JavaScript. :slight_smile:

2018년 6월 14일 목요일 오후 5시 55분 49초 UTC+9, Sijun Cho 님의 말:

···

I have two plots, namely, plot1 and plot2.

Plot2 has BoxSelectTool enabled and I can obtain point coordinates of the selected rectangular area using CustomJS.

Now I need to trigger an ajax call with the obtained coordinates to let server-side update plot2.

I posted the question at the StackOverflow:

https://stackoverflow.com/questions/50853416/how-to-trigger-ajax-call-after-a-box-selection-is-done-in-python-bokeh-plot

It would be great if someone give me a help.

Thank you

–Sijun

⌁   Link to post

End of archived discussion · Replies are disabled