Plotly Dropdowns change yaxis range

Hi,

I was wondering if there is a way to change the range of the yaxis when using the update method for dropdowns. I believe I should be passing it into the args for the dictionary but the following (and a few variations) don’t seem to work. The right trace is displayed and the title of the figure changes but the yaxis range is not being modified.

args=[
{‘visible’: [True, False, False]},
{‘title’: f’{title_string} {clean_name}’},
{‘yaxis’: dict(range=[-1., 1])}
]

Thanks in advance for any help!
Darren