You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: Account for marker size when picking the hovered WebGL point - #8170
This PR makes
scattergl,scatterpolarglandsplomuse marker size when they pick the hovered point, asscatterdoes.Closes #8082.
Why this is correct
scatterscores a point by its distance to the marker edge. Inside a marker, a smaller marker wins.scatterglandsplommeasured only the distance to the marker center. So the marker drawn on top always won.scattermath intogetAxisDistanceandgetPointDistanceinscatter/hover.js, with no change in behavior.