Skip to content

Commit b37439e

Browse files
committed
fix typo (brings back ternary hover labels !!!)
1 parent dfcd6c3 commit b37439e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/graph_interact.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ function hover(gd, evt, subplot) {
319319
}),
320320
yaArray = subplots.map(function(spId) {
321321
var ternary = (gd._fullLayout[spId] || {})._ternary;
322-
if(ternary) return ternary.xaxis;
322+
if(ternary) return ternary.yaxis;
323323
return Plotly.Axes.getFromId(gd, spId, 'y');
324324
}),
325325
hovermode = evt.hovermode || fullLayout.hovermode;

0 commit comments

Comments
 (0)