# Update graphs on hover documentation example

**URL:** <https://community.plotly.com/t/update-graphs-on-hover-documentation-example/25944>\
**Category:** Dash Python\
**Created:** [July 16, 2019, 10:28am UTC](https://community.plotly.com/t/update-graphs-on-hover-documentation-example/25944 "2019-07-16T10:28:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandimusic](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@Sandimusic](https://community.plotly.com/u/Sandimusic)\
**Post date:** [July 16, 2019, 10:28am UTC](https://community.plotly.com/t/update-graphs-on-hover-documentation-example/25944/1 "2019-07-16T10:28:43Z")

</div>

Hi all, quick question regarding the “Update Graphs on Hover”-Example ([https://dash.plot.ly/interactive-graphing](https://dash.plot.ly/interactive-graphing)):

The line charts update as soon as you hover over a scatter point, which is great. But when I move the cursor off that point, the line charts will still show the data for that point. Here is my question:

What if I wanted to have a “default” view of the line charts (say the average across all countries), which is displayed if I am not currently hovering over any given point? Is there a property or something to set hoverData = None as soon as the cursor isnt on any point?

Thanks

---

<div class="post-metadata">

**Author:** ![Sandimusic](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@Sandimusic](https://community.plotly.com/u/Sandimusic)\
**Post date:** [July 26, 2019, 11:52am UTC](https://community.plotly.com/t/update-graphs-on-hover-documentation-example/25944/2 "2019-07-26T11:52:43Z")

</div>

In case anyone else comes across this, dcc.Graph has a "clear\_on\_unhover " argument which will take care of this.
