We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f78e4d commit 3d992f0Copy full SHA for 3d992f0
src/traces/scatter/style.js
@@ -25,13 +25,13 @@ module.exports = function style(gd) {
25
s.selectAll('g.points')
26
.each(function(d) {
27
var el = d3.select(this);
28
- var pt = el.selectAll('path.point');
+ var pts = el.selectAll('path.point');
29
var trace = d.trace || d[0].trace;
30
31
- pt.call(Drawing.pointStyle, trace);
+ pts.call(Drawing.pointStyle, trace);
32
33
if(trace.customdata) {
34
- pt.each(function(cd) {
+ pts.each(function(cd) {
35
d3.select(this).classed('plotly-customdata', cd.data !== null && cd.data !== undefined);
36
});
37
}
0 commit comments