# Plotly Dropdowns change yaxis range

**URL:** <https://community.plotly.com/t/plotly-dropdowns-change-yaxis-range/43539>\
**Category:** 📊 Plotly Python\
**Created:** [August 8, 2020, 2:52am UTC](https://community.plotly.com/t/plotly-dropdowns-change-yaxis-range/43539 "2020-08-08T02:52:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dwettig](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dwettig](https://community.plotly.com/u/dwettig)\
**Post date:** [August 8, 2020, 2:52am UTC](https://community.plotly.com/t/plotly-dropdowns-change-yaxis-range/43539/1 "2020-08-08T02:52:28Z")

</div>

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
