Toggle linked panning in the front end?

I followed this example http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#linked-panning

To link panning for multiple figures, basically I share x_range for all the figures.

However, in my use case, I have like 9 figures (different plots), of which 3 are shown and 6 are hidden (can be switched by some javascript). When they are all linked, it is very slow to zoom or pan. I am looking for a way to temporarily disable linked panning for the hidden figures, and enable them when shown.

Is it possible as I didn’t use bokeh server?

I won't say this is impossible, but it would not be trivial either. We are adding a "range update" callback in 0.9.1 that might end up being a simpler avenue to support this use-case: The plots *don't* share ranges, but the call back updates whichever other ones you want it to when one plot changes.

Bryan

···

On Jun 29, 2015, at 8:12 AM, FANG Colin <[email protected]> wrote:

I followed this example http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#linked-panning

To link panning for multiple figures, basically I share x_range for all the figures.

However, in my use case, I have like 9 figures (different plots), of which 3 are shown and 6 are hidden (can be switched by some javascript). When they are all linked, it is very slow to zoom or pan. I am looking for a way to temporarily disable linked panning for the hidden figures, and enable them when shown.

Is it possible as I didn't use bokeh server?

--
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/5da81a79-2b14-4f06-abe1-a9f41f89f283%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Excellent, exactly what I am looking for.

Any estimate when 0.9.1 will come out?

···

On Monday, June 29, 2015 at 6:34:46 PM UTC+1, Bryan Van de ven wrote:

I won’t say this is impossible, but it would not be trivial either. We are adding a “range update” callback in 0.9.1 that might end up being a simpler avenue to support this use-case: The plots don’t share ranges, but the call back updates whichever other ones you want it to when one plot changes.

Bryan

On Jun 29, 2015, at 8:12 AM, FANG Colin [email protected] wrote:

I followed this example http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#linked-panning

To link panning for multiple figures, basically I share x_range for all the figures.

However, in my use case, I have like 9 figures (different plots), of which 3 are shown and 6 are hidden (can be switched by some javascript). When they are all linked, it is very slow to zoom or pan. I am looking for a way to temporarily disable linked panning for the hidden figures, and enable them when shown.

Is it possible as I didn’t use bokeh server?


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/5da81a79-2b14-4f06-abe1-a9f41f89f283%40continuum.io.

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

Assuming all goes well, this Friday.

Bryan

···

On Jun 29, 2015, at 11:45 AM, FANG Colin <[email protected]> wrote:

Excellent, exactly what I am looking for.

Any estimate when 0.9.1 will come out?

On Monday, June 29, 2015 at 6:34:46 PM UTC+1, Bryan Van de ven wrote:
I won't say this is impossible, but it would not be trivial either. We are adding a "range update" callback in 0.9.1 that might end up being a simpler avenue to support this use-case: The plots *don't* share ranges, but the call back updates whichever other ones you want it to when one plot changes.

Bryan

> On Jun 29, 2015, at 8:12 AM, FANG Colin <[email protected]> wrote:
>
> I followed this example http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#linked-panning
>
> To link panning for multiple figures, basically I share x_range for all the figures.
>
> However, in my use case, I have like 9 figures (different plots), of which 3 are shown and 6 are hidden (can be switched by some javascript). When they are all linked, it is very slow to zoom or pan. I am looking for a way to temporarily disable linked panning for the hidden figures, and enable them when shown.
>
> Is it possible as I didn't use bokeh server?
>
> --
> 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/5da81a79-2b14-4f06-abe1-a9f41f89f283%40continuum.io.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout.

--
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/ca111f9c-6c07-4ef2-94cc-279dc9e00e65%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.