Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d992f0

Browse files
committed
Change variable name for clarity
1 parent 2f78e4d commit 3d992f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/traces/scatter/style.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ module.exports = function style(gd) {
2525
s.selectAll('g.points')
2626
.each(function(d) {
2727
var el = d3.select(this);
28-
var pt = el.selectAll('path.point');
28+
var pts = el.selectAll('path.point');
2929
var trace = d.trace || d[0].trace;
3030

31-
pt.call(Drawing.pointStyle, trace);
31+
pts.call(Drawing.pointStyle, trace);
3232

3333
if(trace.customdata) {
34-
pt.each(function(cd) {
34+
pts.each(function(cd) {
3535
d3.select(this).classed('plotly-customdata', cd.data !== null && cd.data !== undefined);
3636
});
3737
}

0 commit comments

Comments
 (0)