# Updatemenus button won't remain clicked

**URL:** <https://community.plotly.com/t/updatemenus-button-wont-remain-clicked/76155>\
**Category:** 📊 Plotly Python\
**Created:** [June 16, 2023, 2:06pm UTC](https://community.plotly.com/t/updatemenus-button-wont-remain-clicked/76155 "2023-06-16T14:06:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![emmay](https://avatars.discourse-cdn.com/v4/letter/e/7ba0ec/32.png) [@emmay](https://community.plotly.com/u/emmay)\
**Post date:** [June 16, 2023, 2:06pm UTC](https://community.plotly.com/t/updatemenus-button-wont-remain-clicked/76155/1 "2023-06-16T14:06:20Z")

</div>

I’m trying to use updatemenus buttons to change the y axis lable on my plotly scatter plot. I attached a picture of my code below. Everytime I click a button, while it shows the changed axis label for about 2 seconds, it changes back to the initial state. How can I fix this?

 ![Screen Shot 2023-06-16 at 10.06.09 AM](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/2/c/2c56fbcfdcdc0718b86c5083b1fb1a96d5614754.jpeg)
