Skip to content

Commit 65d461f

Browse files
committed
typos
1 parent 607ac29 commit 65d461f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/components/colorbar/draw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ function drawColorBar(g, opts, gd) {
401401
ax.tickfont.size :
402402
0
403403
) + (
404-
ax.ticks !== 'intside' ?
404+
ax.ticks !== 'inside' ?
405405
opts.ticklen || 0 :
406406
0
407407
);

src/plot_api/plot_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ function assertExtendTracesArgs(gd, update, indices, maxPoints) {
742742
(!(key in maxPoints) || !Array.isArray(maxPoints[key]) ||
743743
maxPoints[key].length !== update[key].length)) {
744744
throw new Error('when maxPoints is set as a key:value object it must contain a 1:1 ' +
745-
'corrispondence with the keys and number of traces in the update object');
745+
'correspondence with the keys and number of traces in the update object');
746746
}
747747
}
748748
}

stackgl_modules/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39322,7 +39322,7 @@ function transformPositions(positions, options, size) {
3932239322
break
3932339323

3932439324
default:
39325-
throw new Error("vectorize-text: Unrecoginized textBaseline: '" + baseline + "'")
39325+
throw new Error("vectorize-text: Unrecognized textBaseline: '" + baseline + "'")
3932639326
}
3932739327

3932839328
var scale = 1.0 / size

test/jasmine/tests/plot_api_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,12 +1903,12 @@ describe('Test plot api', function() {
19031903
expect(function() {
19041904
Plotly.extendTraces(gd, {x: [[1]]}, [0], {y: [1]});
19051905
}).toThrow(new Error('when maxPoints is set as a key:value object it must contain a 1:1 ' +
1906-
'corrispondence with the keys and number of traces in the update object'));
1906+
'correspondence with the keys and number of traces in the update object'));
19071907

19081908
expect(function() {
19091909
Plotly.extendTraces(gd, {x: [[1]]}, [0], {x: [1, 2]});
19101910
}).toThrow(new Error('when maxPoints is set as a key:value object it must contain a 1:1 ' +
1911-
'corrispondence with the keys and number of traces in the update object'));
1911+
'correspondence with the keys and number of traces in the update object'));
19121912
});
19131913

19141914
it('should throw an error when update keys mismatch trace keys', function() {

0 commit comments

Comments
 (0)