Skip to content

Commit c9344ed

Browse files
committed
fix typos in some box/violin descriptions
1 parent 7ecf81d commit c9344ed

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

src/traces/box/attributes.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ module.exports = {
9494
role: 'info',
9595
editType: 'calc+clearAxisTypes',
9696
description: [
97-
'Sets the Quartile 1 values,',
97+
'Sets the Quartile 1 values.',
9898
'There should be as many items as the number of boxes desired.',
9999
].join(' ')
100100
},
@@ -112,7 +112,7 @@ module.exports = {
112112
role: 'info',
113113
editType: 'calc+clearAxisTypes',
114114
description: [
115-
'Sets the Quartile 3 values,',
115+
'Sets the Quartile 3 values.',
116116
'There should be as many items as the number of boxes desired.',
117117
].join(' ')
118118
},
@@ -121,7 +121,7 @@ module.exports = {
121121
role: 'info',
122122
editType: 'calc',
123123
description: [
124-
'Sets the lower fence values,',
124+
'Sets the lower fence values.',
125125
'There should be as many items as the number of boxes desired.',
126126
'This attribute has effect only under the q1/median/q3 signature.',
127127
'If `lowerfence` is not provided but a sample (in `y` or `x`) is set,',
@@ -133,7 +133,7 @@ module.exports = {
133133
role: 'info',
134134
editType: 'calc',
135135
description: [
136-
'Sets the upper fence values,',
136+
'Sets the upper fence values.',
137137
'There should be as many items as the number of boxes desired.',
138138
'This attribute has effect only under the q1/median/q3 signature.',
139139
'If `upperfence` is not provided but a sample (in `y` or `x`) is set,',
@@ -173,7 +173,7 @@ module.exports = {
173173
role: 'info',
174174
editType: 'calc',
175175
description: [
176-
'Sets the notch span from the boxes\' `median` values,',
176+
'Sets the notch span from the boxes\' `median` values.',
177177
'There should be as many items as the number of boxes desired.',
178178
'This attribute has effect only under the q1/median/q3 signature.',
179179
'If `notchspan` is not provided but a sample (in `y` or `x`) is set,',
@@ -201,7 +201,7 @@ module.exports = {
201201
'If *all*, all sample points are shown',
202202
'If *false*, only the box(es) are shown with no sample points',
203203
'Defaults to *suspectedoutliers* when `marker.outliercolor` or',
204-
'`marker.line.outliercolor` is set.,',
204+
'`marker.line.outliercolor` is set.',
205205
'Defaults to *all* under the q1/median/q3 signature.',
206206
'Otherwise defaults to *outliers*.',
207207
].join(' ')
@@ -242,7 +242,7 @@ module.exports = {
242242
'If *true*, the mean of the box(es)\' underlying distribution is',
243243
'drawn as a dashed line inside the box(es).',
244244
'If *sd* the standard deviation is also drawn.',
245-
'Defaults to *true* when `mean` is set',
245+
'Defaults to *true* when `mean` is set.',
246246
'Defaults to *sd* when `sd` is set',
247247
'Otherwise defaults to *false*.'
248248
].join(' ')
@@ -252,7 +252,7 @@ module.exports = {
252252
role: 'info',
253253
editType: 'calc',
254254
description: [
255-
'Sets the mean values,',
255+
'Sets the mean values.',
256256
'There should be as many items as the number of boxes desired.',
257257
'This attribute has effect only under the q1/median/q3 signature.',
258258
'If `mean` is not provided but a sample (in `y` or `x`) is set,',
@@ -264,7 +264,7 @@ module.exports = {
264264
role: 'info',
265265
editType: 'calc',
266266
description: [
267-
'Sets the standard deviation values,',
267+
'Sets the standard deviation values.',
268268
'There should be as many items as the number of boxes desired.',
269269
'This attribute has effect only under the q1/median/q3 signature.',
270270
'If `sd` is not provided but a sample (in `y` or `x`) is set,',
@@ -294,10 +294,10 @@ module.exports = {
294294
'Sets the method used to compute the sample\'s Q1 and Q3 quartiles.',
295295

296296
'The *linear* method uses the 25th percentile for Q1 and 75th percentile for Q3',
297-
'as computed using method #10 listed on http://www.amstat.org/publications/jse/v14n3/langford.html).',
297+
'as computed using method #10 (listed on http://www.amstat.org/publications/jse/v14n3/langford.html).',
298298

299299
'The *exclusive* method uses the median to divide the ordered dataset into two halves',
300-
'if the sample is odd, it does not includes the median in either half -',
300+
'if the sample is odd, it does not include the median in either half -',
301301
'Q1 is then the median of the lower half and',
302302
'Q3 the median of the upper half.',
303303

src/traces/box/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ module.exports = {
3535
'by default they span +/- 1.5 times the interquartile range (IQR: Q3-Q1),',
3636
'The sample mean and standard deviation as well as notches and',
3737
'the sample, outlier and suspected outliers points can be optionally',
38-
'added to the box plot',
38+
'added to the box plot.',
3939

4040
'The values and positions corresponding to each boxes can be input',
4141
'using two signatures.',
4242

4343
'The first signature expects users to supply the sample values in the `y`',
4444
'data array for vertical boxes (`x` for horizontal boxes).',
45-
'By supplying an `x` (`y`) array, one box per distinct x (y) value is drawn',
45+
'By supplying an `x` (`y`) array, one box per distinct `x` (`y`) value is drawn',
4646
'If no `x` (`y`) {array} is provided, a single box is drawn.',
4747
'In this case, the box is positioned with the trace `name` or with `x0` (`y0`) if provided.',
4848

src/traces/violin/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ module.exports = {
128128
'points either less than 4*Q1-3*Q3 or greater than 4*Q3-3*Q1',
129129
'are highlighted (see `outliercolor`)',
130130
'If *all*, all sample points are shown',
131-
'If *false*, only the violins are shown with no sample points',
131+
'If *false*, only the violins are shown with no sample points.',
132132
'Defaults to *suspectedoutliers* when `marker.outliercolor` or',
133133
'`marker.line.outliercolor` is set,',
134134
'otherwise defaults to *outliers*.'

0 commit comments

Comments
 (0)