Dropdown Menu Event resetting Y-size on the second plot

Ok. So that fixed the problem. I can’t believe it was that simple.

I did add this bit for the bottom plot p2.y_range = Range1d(-10, 10) and it seems to be working.

The provided range (-10,10) seems to not have any effect in my case. But it is working. Thank you.

1 Like

Awesome! This is a really great feature btw would you mind opening a GH issue to discuss windowed-autoranging? I’m not sure when we can get to it but we should at least record interest in having this feature be officially supported (at least for some subset of glyphs)

1 Like

Sure. By the way, to give credit to the original source for my solution, it is from this stackoverflow post:

Python: Plot candlesticks with automatic Y zoom

1 Like