Slider + dropdown buttons (update)

Hello,

I’m currently working on a code and i know that this line can generate a slider on the xaxis side :
fig.update_layout(xaxis_rangeslider_visible=True)

The problem is that after this, i used some dropdown buttons with update option (in order to see different yaxis plots vs xaxis) and when i click on a button, the slider is gone (it is present when the fig opens up at first and then after clicking on one option of the dropdown it goes away).

The code for the dropdown buttons starts like this :
fig.update_layout(
updatemenus=[dict(
buttons=list(
[dict(label =…
In these examples there is no sliders used : Custom buttons with Python
In the library for buttons plotly, there is nothing about the sliders that can be added on xaxis

PS : I don’t want the step-slider, i just need that normal slider which is this one :

Thank you for your time !