| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ba538c3 commit 4c5c55e
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -401,7 +401,7 @@ function drawColorBar(g, opts, gd) { | |||
| 401 | 401 | ax.tickfont.size : | |
| 402 | 402 | 0 | |
| 403 | 403 | ) + ( | |
| 404 | - ax.ticks !== 'intside' ? | ||
| 404 | + ax.ticks !== 'inside' ? | ||
| 405 | 405 | opts.ticklen || 0 : | |
| 406 | 406 | 0 | |
| 407 | 407 | ); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -742,7 +742,7 @@ function assertExtendTracesArgs(gd, update, indices, maxPoints) { | |||
| 742 | 742 | (!(key in maxPoints) || !Array.isArray(maxPoints[key]) || | |
| 743 | 743 | maxPoints[key].length !== update[key].length)) { | |
| 744 | 744 | 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'); | ||
| 746 | 746 | } | |
| 747 | 747 | } | |
| 748 | 748 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1903,12 +1903,12 @@ describe('Test plot api', function() { | |||
| 1903 | 1903 | expect(function() { | |
| 1904 | 1904 | Plotly.extendTraces(gd, {x: [[1]]}, [0], {y: [1]}); | |
| 1905 | 1905 | }).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')); | ||
| 1907 | 1907 | ||
| 1908 | 1908 | expect(function() { | |
| 1909 | 1909 | Plotly.extendTraces(gd, {x: [[1]]}, [0], {x: [1, 2]}); | |
| 1910 | 1910 | }).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')); | ||
| 1912 | 1912 | }); | |
| 1913 | 1913 | ||
| 1914 | 1914 | it('should throw an error when update keys mismatch trace keys', function() { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments