☰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

Two curves, two individual y-axis/y-ranges but one zoom/pan action

Community Support
ThomasB
ThomasB

Hello,
I successfully set up a bokeh line chart with two separate curves, say A and B.
Each curve has it’s own associated y-range.
Curve A uses the default (figure.y_range) curve B uses a different (extra_y_ranges) with different scaling (of course).

Now, when I select the mouse scroll zoom tool or the drag tool and put the mouse over one of those y-axis,
I would expect _only_the associated_curve to react to the action (scroll-zoom, drag ).
But instead both curves and both ranges/axis react to the zoom or drag.

It is clear, that there is no simple distinction possible when I use the mouse pointer within the chart.
But having it hovering over the axis/scale I would expect separated actions on either curve not both.

I there a generic way to “unlink” the curve-interaction?
(Did I miss something?)

TIA Thomas

⌁   Link to post

End of archived discussion · Replies are disabled