Currently, if there are two traces a, b with hovermode="x unified", then a value from trace b can be shown in the hoverinfo even when I am hovering on a x coordinate where there is no point in trace b, but only in trace a, see picture, where hovering over point from trace a with x=3 shows point from trace b with x=3.05.
I would like a way to enforce that only points with exactly matching x coordinates are shown in the hover (something like hovermode="x unified exact"?).
Currently, if there are two traces
a
,b
withhovermode="x unified"
, then a value from traceb
can be shown in the hoverinfo even when I am hovering on ax
coordinate where there is no point in traceb
, but only in tracea
, see picture, where hovering over point from tracea
withx=3
shows point from traceb
withx=3.05
. I would like a way to enforce that only points with exactly matching x coordinates are shown in the hover (something likehovermode="x unified exact"
?).Code to generate figure from the screenshot: