Skip to content

Commit 026cd53

Browse files
committed
lint / fix comment
1 parent 1c40947 commit 026cd53

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/plots/cartesian/autorange.js

-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ function doAutoRange(ax) {
232232
* and make it a tight bound if possible
233233
*/
234234
function expand(ax, data, options) {
235-
236235
if(!ax._min) ax._min = [];
237236
if(!ax._max) ax._max = [];
238237
if(!options) options = {};

src/traces/scatter/calc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function calcAxisExpansion(gd, trace, xa, ya, x, y, ppad) {
9696
yOptions.padded = false;
9797
}
9898

99-
// N.B. asymmetric splom traces call this with undefined xa or ya
99+
// N.B. asymmetric splom traces call this with blank {} xa or ya
100100
if(xa._id) Axes.expand(xa, x, xOptions);
101101
if(ya._id) Axes.expand(ya, y, yOptions);
102102
}

0 commit comments

Comments
 (0)