# Plotly hovermode

**URL:** <https://discourse.julialang.org/t/plotly-hovermode/60336>\
**Category:** Visualization\
**Tags:** plots, plotlyjs\
**Created:** [April 30, 2021, 6:22pm UTC](https://discourse.julialang.org/t/plotly-hovermode/60336 "2021-04-30T18:22:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cyrieln](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cyrieln/32/24612_2.png) [@cyrieln](https://discourse.julialang.org/u/cyrieln)\
**Post date:** [April 30, 2021, 6:25pm UTC](https://discourse.julialang.org/t/plotly-hovermode/60336/2 "2021-04-30T18:25:36Z")

</div>

Nevermind, found the answer here;

> [@Display (a different) value under scatter point](https://discourse.julialang.org/t/display-a-different-value-under-scatter-point/10821/7):
>
> If you want to change the behavior programatically, you can do p=plot(); PlotlyJS.relayout!(p.o,hovermode="closest") Alternative values are "x" (the default) and "y" (which doesn’t seem to be accessible from the GUI).

---

_[View the full topic](https://discourse.julialang.org/t/plotly-hovermode/60336)._
