☰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

linking data via index column

Community Support
Arthur_Dijkstra
Arthur_Dijkstra

LS,
I’ve bee searching but didn’t find it.

My data is like:

id,x1,y1,x2,y2

a,2,3,2,6

b,7,3,5,1

c,2,8,7,6

Index is unique. (data is stored in datafram)

I want to make liked 2 scatter charts. One based on x1,y1 and a linked chart based on x2,y2

The common field is the index field id.

Can this be done ?

Thanks

Arthur

⌁   Link to post
Bryan
Bryan

Yes this can be done, linked panning in bokeh is a matter of sharing ranges between plots. A test deploy of the new User's Guide under development has more information and examples:

  http://bokeh.pydata.org/en/test/docs/user_guide/interaction.html#linked-panning

Thanks,

Bryan

···

On May 6, 2015, at 8:31 AM, Arthur Dijkstra <artdijk@gmail.com> wrote:

LS,
I've bee searching but didn't find it.
My data is like:
id,x1,y1,x2,y2
a,2,3,2,6
b,7,3,5,1
c,2,8,7,6
Index is unique. (data is stored in datafram)
I want to make liked 2 scatter charts. One based on x1,y1 and a linked chart based on x2,y2
The common field is the index field id.
Can this be done ?
Thanks
Arthur

--
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/23d7cb31-66a0-4b86-8536-210c101a1054%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
Bryan
Bryan

My mistake, you want the section right below:

  http://bokeh.pydata.org/en/test/docs/user_guide/interaction.html#linked-brushing
  
Bryan

···

On May 7, 2015, at 11:52 AM, Arthur Dijkstra <artdijk@gmail.com> wrote:

Thanks, but for this linken there is no shared range. The id field is shared and that is a string.
How can be linked through a shared id field ?
Thnx

--
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/32558c4f-4846-4fe2-bf76-63e5eeb8c572%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
Arthur_Dijkstra
Arthur_Dijkstra

Thanks it works !
You’re doing great work !

···

Op donderdag 7 mei 2015 20:21:52 UTC+2 schreef Bryan Van de ven:

My mistake, you want the section right below:

    [http://bokeh.pydata.org/en/test/docs/user_guide/interaction.html#linked-brushing](http://bokeh.pydata.org/en/test/docs/user_guide/interaction.html#linked-brushing)

Bryan

On May 7, 2015, at 11:52 AM, Arthur Dijkstra art...@gmail.com wrote:

Thanks, but for this linken there is no shared range. The id field is shared and that is a string.

How can be linked through a shared id field ?

Thnx

–
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/32558c4f-4846-4fe2-bf76-63e5eeb8c572%40continuum.io.

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

⌁   Link to post

End of archived discussion · Replies are disabled