Skip to content

Commit 89aebd1

Browse files
committed
fix typos in 📚
1 parent d233f3b commit 89aebd1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/plots/cartesian/autorange.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
* Collects all _extremes values corresponding to a given axis
2828
* and computes its auto range.
2929
*
30-
* getAutoRange uses return values from findExtremes where:
30+
* Note that getAutoRange uses return values from findExtremes.
3131
*
3232
* @param {object} gd:
3333
* graph div object with filled-in fullData and fullLayout, in particular
@@ -398,7 +398,7 @@ function collapseMaxArray(array, newVal, newPad, opts) {
398398
/**
399399
* collapseArray
400400
*
401-
* Take items v from 'array' compare them to 'newVal', 'newPad'
401+
* Takes items from 'array' and compares them to 'newVal', 'newPad'.
402402
*
403403
* @param {array} array:
404404
* current set of min or max extremes

src/plots/get_data.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ exports.getModuleCalcData = function(calcdata, arg1) {
6969
for(var i = 0; i < calcdata.length; i++) {
7070
var cd = calcdata[i];
7171
var trace = cd[0].trace;
72-
// N.B. 'legendonly' traces do not make it pass here
72+
// N.B. 'legendonly' traces do not make it past here
7373
if(trace.visible !== true) continue;
7474

7575
// group calcdata trace not by 'module' (as the name of this function

0 commit comments

Comments
 (0)