Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Extracting and working on selected data #227

Open
DavidVirant opened this issue Aug 2, 2018 · 3 comments
Open

Extracting and working on selected data #227

DavidVirant opened this issue Aug 2, 2018 · 3 comments

Comments

@DavidVirant
Copy link

Hey,

Would it be possible to extract data selected in a Bokeh scatter plot back into Python? For example, I have a scatter plot, I select a small subset of the points and they are returned as an array with their x and y positions,a s well as any other indices they might have?

If it's not possible now, is there any chance you might add support for something like this in the future?

Cheers!

@Atrebas
Copy link

Atrebas commented Sep 4, 2018

I'm not sure why you speak about Python, since this repo is for rbokeh, the R version of bokeh.
If you work with bokeh in Python, you should have a look at callbacks here.
In R, callbacks are possible in Shiny applications. See here and here.

@bryevdv
Copy link
Member

bryevdv commented Sep 4, 2018

I'm not sure why you speak about Python

People sometimes use both R and Python together in the same project

@Atrebas
Copy link

Atrebas commented Sep 4, 2018

Yes, that's possible.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants