# Update dropdown menu dynamically in plotly python api

**URL:** <https://community.plotly.com/t/update-dropdown-menu-dynamically-in-plotly-python-api/9139>\
**Category:** 📊 Plotly Python\
**Created:** [March 22, 2018, 12:55pm UTC](https://community.plotly.com/t/update-dropdown-menu-dynamically-in-plotly-python-api/9139 "2018-03-22T12:55:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![niyamatalmass](https://avatars.discourse-cdn.com/v4/letter/n/958977/32.png) [@niyamatalmass](https://community.plotly.com/u/niyamatalmass)\
**Post date:** [March 22, 2018, 12:55pm UTC](https://community.plotly.com/t/update-dropdown-menu-dynamically-in-plotly-python-api/9139/1 "2018-03-22T12:55:32Z")

</div>

How to update dropdown menu dynamicly. Like when a dropdown is selected another dropdown option will change according to the first selection. I know it can be done using Dash but I want to implement it in plotly python API.

---

<div class="post-metadata">

**Author:** ![spiritanimal](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@spiritanimal](https://community.plotly.com/u/spiritanimal)\
**Post date:** [December 10, 2020, 9:57pm UTC](https://community.plotly.com/t/update-dropdown-menu-dynamically-in-plotly-python-api/9139/2 "2020-12-10T21:57:07Z")

</div>

Is there a way to upvote this? I too am curious about how to do this.
