Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4c5c55e

Browse files
Fix some typos
1 parent ba538c3 commit 4c5c55e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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
}

‎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)

AltStyle によって変換されたページ (->オリジナル) /