Autoscale Y axis on visible data (with range selector)

Hi there,

I am doing some nice plots in python (for a dash app) and I am wondering if there is a way to Autoscale Y axis on the “visible data”, for example when using range selector, or more in general changing the zoom on the x-axis.

Either with python or with a css file.

I have read some posts on the subject but I couldn’t get any of them to work on python-dash

Many thanks!