Skip to content

Commit ee2ac26

Browse files
committed
rename 'list' -> 'subplotIds'
1 parent e6705f6 commit ee2ac26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plots/cartesian/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -429,11 +429,11 @@ function makeSubplotData(gd) {
429429
}
430430

431431
// put 'regular' subplot data before 'overlaying'
432+
var subplotIds = regulars.concat(overlays);
432433
var subplotData = new Array(len);
433-
var list = regulars.concat(overlays);
434434

435435
for(i = 0; i < len; i++) {
436-
id = list[i];
436+
id = subplotIds[i];
437437
plotinfo = fullLayout._plots[id];
438438
xa = plotinfo.xaxis;
439439
ya = plotinfo.yaxis;

0 commit comments

Comments
 (0)