# Update annotations using buttons in plotly R

**URL:** <https://community.plotly.com/t/update-annotations-using-buttons-in-plotly-r/10860>\
**Category:** Plotly R\
**Created:** [June 12, 2018, 8:07am UTC](https://community.plotly.com/t/update-annotations-using-buttons-in-plotly-r/10860 "2018-06-12T08:07:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbb](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@rbb](https://community.plotly.com/u/rbb)\
**Post date:** [June 12, 2018, 8:07am UTC](https://community.plotly.com/t/update-annotations-using-buttons-in-plotly-r/10860/1 "2018-06-12T08:07:33Z")

</div>

please how can i change the annotations visibility using buttons in plotly !

---

<div class="post-metadata">

**Author:** ![bcd](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@bcd](https://community.plotly.com/u/bcd)\
**Post date:** [June 12, 2018, 9:07am UTC](https://community.plotly.com/t/update-annotations-using-buttons-in-plotly-r/10860/2 "2018-06-12T09:07:33Z")

</div>

Hey @rbb

Have you see the custom buttons tutorial [https://plot.ly/r/custom-buttons/#update-button](https://plot.ly/r/custom-buttons/#update-button)?
