# How to identify which annotation text is changes with callback when multiple annotations are present in a scatter plot

**URL:** <https://community.plotly.com/t/how-to-identify-which-annotation-text-is-changes-with-callback-when-multiple-annotations-are-present-in-a-scatter-plot/22551>\
**Category:** Dash Python\
**Created:** [April 21, 2019, 8:06pm UTC](https://community.plotly.com/t/how-to-identify-which-annotation-text-is-changes-with-callback-when-multiple-annotations-are-present-in-a-scatter-plot/22551 "2019-04-21T20:06:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vedulaabhi](https://avatars.discourse-cdn.com/v4/letter/v/e19adc/32.png) [@vedulaabhi](https://community.plotly.com/u/vedulaabhi)\
**Post date:** [April 21, 2019, 8:06pm UTC](https://community.plotly.com/t/how-to-identify-which-annotation-text-is-changes-with-callback-when-multiple-annotations-are-present-in-a-scatter-plot/22551/1 "2019-04-21T20:06:17Z")

</div>

Hi,  
I have a dash app with scatter plot. I added feature to add annotations on the click using clickdata. I want to capture if somone changes text in one of the annotations. I tried relay data but it only gives the changes in a specific annotation and not the identity of the annotation. The idea is to persist the annotation in the event of adding a new annotation.
