# How to annotate faceted line graph

**URL:** <https://community.plotly.com/t/how-to-annotate-faceted-line-graph/57051>\
**Category:** 📊 Plotly Python\
**Created:** [September 27, 2021, 6:59pm UTC](https://community.plotly.com/t/how-to-annotate-faceted-line-graph/57051 "2021-09-27T18:59:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kapla](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@Kapla](https://community.plotly.com/u/Kapla)\
**Post date:** [September 27, 2021, 6:59pm UTC](https://community.plotly.com/t/how-to-annotate-faceted-line-graph/57051/1 "2021-09-27T18:59:30Z")

</div>

I have a px.line graph that is faceted on the row level and I would like to annotate each sub graph as such:  
I have my x value anchored through a callback.

How can I update my x and y value here:

```auto
fig.add_annotation(x=?, y=?,
            text="Text annotation with arrow",
            showarrow=True,
            arrowhead=1)

```

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/6/6/66c960b62692df1e253f2b306b854527a8b118ca.png)
