Is it possible to use two sliders to control two independent parameters on the same plot in plotly.py?

I would like to know whether the above is possible using plotly.py via import plotly.graph_objects as go. It is similar to the question here:

However, it is not clear to me whether the answer that it is not possible applied to Plotly express or plotly.py. And that was three years ago.