Getting current x_range values after zooming

Hi,
How can I get current x_range values after zooming with panel ?
Like with Bokeh:

plot.x_range.on_change('start', lambda attr, old, new: print("Start", new))

What is the equivalent of Bokeh’s code in Panel

regards

Hi @Ahmet,

The following posts may be of use here, reads like you might be after rangexy stream:

https://holoviews.org/reference/streams/bokeh/RangeXY.html

https://discourse.holoviz.org/t/keep-zoom-level-when-changing-between-variables-in-a-scatter-plot/1120

https://discourse.holoviz.org/t/dynamically-replacing-overlaid-image-s-on-a-tile-map-without-resetting-the-whole-map-to-default-zoom/2203

https://discourse.holoviz.org/t/keep-zoom-while-changing-variables-and-allow-reset/2148/6

Thanks, Carl.

2 Likes

Thank you,
I will try…