Change range of yaxis according to current screen data

Hi. Iโ€™m using plotly.py and designing a graph of candlesticks. But I want to change the range of y-axes dynamically according to current data on graph. For example, if Iโ€™m sliding the graph the current data on screen is 50 to 100, then change the range in to this. And if values increase or decrease then range also change.

df=pd.read_csv('tsla.csv')
fig = go.Figure(data=[go.Candlestick(x=df['Date'],
                open=df['Open'],
                high=df['High'],
                low=df['Low'],
                close=df['Close'])])
                
fig.write_html('first_figure.html', auto_open=True)

This is my code.
And the demo graph, you can find here

This isnโ€™t a built-in feature at this time, but thereโ€™s an issue open here if you want to follow development progress: https://github.com/plotly/plotly.js/issues/1876