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 d60e84d commit 219eb08Copy full SHA for 219eb08
src/plots/cartesian/axes.js
@@ -1472,14 +1472,14 @@ axes.findSubplotsWithAxis = function(subplots, ax) {
1472
var axMatch = new RegExp(
1473
(ax._id.charAt(0) === 'x') ? ('^' + ax._id + 'y') : (ax._id + '$')
1474
);
1475
- var subplotsWithAxis = [];
+ var subplotsWithAx = [];
1476
1477
for(var i = 0; i < subplots.length; i++) {
1478
var sp = subplots[i];
1479
- if(axMatch.test(sp)) subplotsWithAxis.push(sp);
+ if(axMatch.test(sp)) subplotsWithAx.push(sp);
1480
}
1481
1482
- return subplotsWithAxis;
+ return subplotsWithAx;
1483
};
1484
1485
// makeClipPaths: prepare clipPaths for all single axes and all possible xy pairings
0 commit comments