Is there a way to zoom in certain ranges on the plot based on the input?

For example, I have this bar chart. I want to add a selectbox so that after a value is chosen, the plot will zoom in a certain range based on the chosen value (and can still be reset after being double clicked on).


Hi @Khoa_Dang

You can use Plotly to allow zoom-in of plots, more info here: Configuration in Python

Bokeh also supports this as well, more info here: Plot tools — Bokeh 3.2.0 Documentation