☰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

Programmatically change location (coordinates) of point added by pointdrawtool

Community Support
beder
beder

Hi,

I would like change the coordinates/location of a point added by the pointdrawtool before it is rendered in the plot. How could I achieve this?

OR I could add the point, make the glyph invisible, and then programmatically update the x/y coordinates in the data source, and make the glyph (point) visible again. I have this method working but changes are not displayed visually on the plot. The point remains in the original location…

Thanks

⌁   Link to post
carolyn
carolyn

If you haven’t already, you might open the browser’s JS console and see if you’re getting any errors when the point isn’t moving as expected.

Would you like to provide some example code for your update method, so that reviewers can run it and reproduce the error?

⌁   Link to post
beder
beder

Hi, I would be happy to supply some example code. However, I think in order to give a decent example, I need to include a python version of source.change.emit(). Is there one?

⌁   Link to post

End of archived discussion · Replies are disabled