Skip to content

Commit e650a7c

Browse files
authored
Merge pull request #1602 from plotly/fix-span-animation
Fix tspan selector
2 parents ba0e3a5 + 2217891 commit e650a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/scatter/plot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
470470
var x = d.xp || xa.c2p(d.x),
471471
y = d.yp || ya.c2p(d.y);
472472

473-
d3.select(this).selectAll('tspan').each(function() {
473+
d3.select(this).selectAll('tspan.line').each(function() {
474474
transition(d3.select(this)).attr({x: x, y: y});
475475
});
476476
});

0 commit comments

Comments
 (0)