I want to change the font size on the slider label. I tried:
fig.update_layout(sliders=dict(fontsize= 16))