Skip to content

Commit a5b295f

Browse files
authored
Merge pull request #5349 from jbampton/fix-spelling
Fix spelling
2 parents 8e1ad5e + 4a31b3b commit a5b295f

File tree

21 files changed

+29
-29
lines changed

21 files changed

+29
-29
lines changed

src/components/colorscale/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
calc: require('./calc'),
2626

2727
// ./scales.js is required in lib/coerce.js ;
28-
// it needs to be a seperate module to avoid circular a dependency
28+
// it needs to be a separate module to avoid circular a dependency
2929
scales: scales.scales,
3030
defaultScale: scales.defaultScale,
3131
getScale: scales.get,

src/components/errorbars/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = {
3232
'If *percent*, the bar lengths correspond to a percentage of',
3333
'underlying data. Set this percentage in `value`.',
3434

35-
'If *sqrt*, the bar lengths correspond to the sqaure of the',
35+
'If *sqrt*, the bar lengths correspond to the square of the',
3636
'underlying data.',
3737

3838
'If *data*, the bar lengths are set with data set `array`.'

src/components/fx/hover.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ function getHoverLabelText(d, showCommonLabel, hovermode, fullLayout, t0, g) {
13061306

13071307
// Make groups of touching points, and within each group
13081308
// move each point so that no labels overlap, but the average
1309-
// label position is the same as it was before moving. Indicentally,
1309+
// label position is the same as it was before moving. Incidentally,
13101310
// this is equivalent to saying all the labels are on equal linear
13111311
// springs about their initial position. Initially, each point is
13121312
// its own group, but as we find overlaps we will clump the points.

src/components/sliders/draw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ function setGripPosition(sliderGroup, sliderOpts, doTransition) {
571571
.ease(sliderOpts.transition.easing);
572572
}
573573

574-
// Drawing.setTranslate doesn't work here becasue of the transition duck-typing.
574+
// Drawing.setTranslate doesn't work here because of the transition duck-typing.
575575
// It's also not necessary because there are no other transitions to preserve.
576576
el.attr('transform', strTranslate(x - constants.gripWidth * 0.5, sliderOpts._dims.currentValueTotalHeight));
577577
}

src/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ lib.objectFromPath = function(path, value) {
865865
* lib.expandObjectPaths({'foo[1].bar': 10, 'foo[0].bar': 20});
866866
* => { foo: [{bar: 10}, {bar: 20}] }
867867
*
868-
* It does NOT, however, merge mulitple mutliply-nested arrays::
868+
* It does NOT, however, merge multiple multiply-nested arrays::
869869
*
870870
* lib.expandObjectPaths({'marker[1].range[1]': 5, 'marker[1].range[0]': 4})
871871
* => { marker: [null, {range: 4}] }

src/plot_api/plot_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3231,7 +3231,7 @@ function animate(gd, frameOrGroupNameOrFrameList, animationOpts) {
32313231
}
32323232

32333233
// Execute a callback after the wrapper function has been called n times.
3234-
// This is used to defer the resolution until a transition has resovled *and*
3234+
// This is used to defer the resolution until a transition has resolved *and*
32353235
// the frame has completed. If it's not done this way, then we get a race
32363236
// condition in which the animation might resolve before a transition is complete
32373237
// or vice versa.

src/traces/carpet/attributes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = {
3737
editType: 'calc+clearAxisTypes',
3838
description: [
3939
'A two dimensional array of x coordinates at each carpet point.',
40-
'If ommitted, the plot is a cheater plot and the xaxis is hidden',
40+
'If omitted, the plot is a cheater plot and the xaxis is hidden',
4141
'by default.'
4242
].join(' ')
4343
},
@@ -109,7 +109,7 @@ module.exports = {
109109
editType: 'calc',
110110
description: [
111111
'The shift applied to each successive row of data in creating a cheater plot.',
112-
'Only used if `x` is been ommitted.'
112+
'Only used if `x` is been omitted.'
113113
].join(' ')
114114
},
115115
aaxis: axisAttrs,

src/traces/carpet/create_i_derivative_evaluator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* Also note that the discontinuity of the derivative is in magnitude only. The direction *is*
2020
* continuous across cell boundaries.
2121
*
22-
* For example, to compute the derivative of the xcoordinate halfway betwen the 7 and 8th i-gridpoints
22+
* For example, to compute the derivative of the xcoordinate halfway between the 7 and 8th i-gridpoints
2323
* and the 10th and 11th j-gridpoints given bicubic smoothing in both dimensions, you'd write:
2424
*
2525
* var deriv = createIDerivativeEvaluator([x], 1, 1);

src/traces/carpet/plot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = function plot(gd, plotinfo, cdcarpet, carpetLayer) {
4545
drawGridLines(xa, ya, minorLayer, aax, 'a', aax._minorgridlines, true);
4646
drawGridLines(xa, ya, minorLayer, bax, 'b', bax._minorgridlines, true);
4747

48-
// NB: These are not ommitted if the lines are not active. The joins must be executed
48+
// NB: These are not omitted if the lines are not active. The joins must be executed
4949
// in order for them to get cleaned up without a full redraw
5050
drawGridLines(xa, ya, boundaryLayer, aax, 'a-boundary', aax._boundarylines);
5151
drawGridLines(xa, ya, boundaryLayer, bax, 'b-boundary', bax._boundarylines);

src/traces/carpet/set_convert.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,15 @@ module.exports = function setConvert(trace) {
215215

216216
var i0 = Math.max(0, Math.min(a.length - 2, i));
217217

218-
// The step (demoninator) is implicitly 1 since that's the grid spacing.
218+
// The step (denominator) is implicitly 1 since that's the grid spacing.
219219
return a[i0 + 1] - a[i0];
220220
};
221221

222222
trace.dbdj = function(j /* , v*/) {
223223
// See above caveats for dadi which also apply here
224224
var j0 = Math.max(0, Math.min(b.length - 2, j));
225225

226-
// The step (demoninator) is implicitly 1 since that's the grid spacing.
226+
// The step (denominator) is implicitly 1 since that's the grid spacing.
227227
return b[j0 + 1] - b[j0];
228228
};
229229

0 commit comments

Comments
 (0)