Plotly hovermode

Hi there!

I was wondering if it is possible to change Plots’ plotlyjs default hovermode to closest. I have a scatterplot with thousands of points and I’d like to show hover info on each point but only the closest one. Right now, it shows the hoverbox for all points on the same vertical which gets messy very quickly.

I know this is possible in vanilla Plotly, but I haven’t seen it in Plots.jl documentation.

Nevermind, found the answer here;