☰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

Getting LassoSelectTool coordinates on an ImageRGBA glyph

Community Support
Maurice_Marx
Maurice_Marx

I would like to allow a user to select a region of interest on an image. Is there any way to get the coordinates of the polygon drawn using the LassoSelectTool on an image? The BoxSelectTool can take a callback function as an argument, but the LassoSelectTool has no such functionality. I’ve attached an image of an error that occurs in the JS console when attempting to use the LassoSelectTool on an ImageRGBA glyph. I am using Bokeh 0.10.0. Any help is appreciated.

Maurice

⌁   Link to post
Bryan
Bryan

I don't think this is currently possible. There are a couple of possible avenues. Can you make a feature request on GH so we can get a wider group of devs involved?

Thanks,

Bryan

···

On Oct 23, 2015, at 10:37 AM, Maurice Marx <momomarx@gmail.com> wrote:

I would like to allow a user to select a region of interest on an image. Is there any way to get the coordinates of the polygon drawn using the LassoSelectTool on an image? The BoxSelectTool can take a callback function as an argument, but the LassoSelectTool has no such functionality. I've attached an image of an error that occurs in the JS console when attempting to use the LassoSelectTool on an ImageRGBA glyph. I am using Bokeh 0.10.0. Any help is appreciated.

Maurice

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/d761c86d-0ec0-4f65-80e1-435e042ad93d%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
<BokehJS_Error.png>

⌁   Link to post
Maurice_Marx
Maurice_Marx

Hi Bryan,

Yes, will do. Thanks for your reply.

Maurice

···

On Saturday, October 24, 2015 at 10:50:19 PM UTC-4, Bryan Van de ven wrote:

I don’t think this is currently possible. There are a couple of possible avenues. Can you make a feature request on GH so we can get a wider group of devs involved?

Thanks,

Bryan

On Oct 23, 2015, at 10:37 AM, Maurice Marx momo...@gmail.com wrote:

I would like to allow a user to select a region of interest on an image. Is there any way to get the coordinates of the polygon drawn using the LassoSelectTool on an image? The BoxSelectTool can take a callback function as an argument, but the LassoSelectTool has no such functionality. I’ve attached an image of an error that occurs in the JS console when attempting to use the LassoSelectTool on an ImageRGBA glyph. I am using Bokeh 0.10.0. Any help is appreciated.

Maurice

–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/d761c86d-0ec0-4f65-80e1-435e042ad93d%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

<BokehJS_Error.png>

⌁   Link to post

End of archived discussion · Replies are disabled