linking data via index column

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

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 <[email protected]> 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 [email protected].
To post to this group, send email to [email protected].
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.

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

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 <[email protected]> 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 [email protected].
To post to this group, send email to [email protected].
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.

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 [email protected] 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 [email protected].

To post to this group, send email to [email protected].

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.