Skip to content

Commit c4a6d7f

Browse files
committed
Merge pull request #406 from samelawrence/master
Fix grammar errors in documentation.
2 parents b5eed7e + fae0803 commit c4a6d7f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/traces/scatter/attributes.js

+15-15
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ module.exports = {
120120
dflt: 1,
121121
role: 'style',
122122
description: [
123-
'Has only an effect if `shape` is set to *spline*',
123+
'Has an effect only if `shape` is set to *spline*',
124124
'Sets the amount of smoothing.',
125125
'*0* corresponds to no smoothing (equivalent to a *linear* shape).'
126126
].join(' ')
@@ -222,7 +222,7 @@ module.exports = {
222222
dflt: 1,
223223
role: 'style',
224224
description: [
225-
'Has only an effect if `marker.size` is set to a numerical array.',
225+
'Has an effect only if `marker.size` is set to a numerical array.',
226226
'Sets the scale factor used to determine the rendered size of',
227227
'marker points. Use with `sizemin` and `sizemode`.'
228228
].join(' ')
@@ -233,7 +233,7 @@ module.exports = {
233233
dflt: 0,
234234
role: 'style',
235235
description: [
236-
'Has only an effect if `marker.size` is set to a numerical array.',
236+
'Has an effect only if `marker.size` is set to a numerical array.',
237237
'Sets the minimum size (in px) of the rendered marker points.'
238238
].join(' ')
239239
},
@@ -243,7 +243,7 @@ module.exports = {
243243
dflt: 'diameter',
244244
role: 'info',
245245
description: [
246-
'Has only an effect if `marker.size` is set to a numerical array.',
246+
'Has an effect only if `marker.size` is set to a numerical array.',
247247
'Sets the rule for which the data in `size` is converted',
248248
'to pixels.'
249249
].join(' ')
@@ -269,7 +269,7 @@ module.exports = {
269269
dflt: true,
270270
role: 'style',
271271
description: [
272-
'Has only an effect if `marker.color` is set to a numerical array.',
272+
'Has an effect only if `marker.color` is set to a numerical array.',
273273
'Determines the whether or not the color domain is computed',
274274
'automatically.'
275275
].join(' ')
@@ -279,7 +279,7 @@ module.exports = {
279279
dflt: null,
280280
role: 'info',
281281
description: [
282-
'Has only an effect if `marker.color` is set to a numerical array.',
282+
'Has an effect only if `marker.color` is set to a numerical array.',
283283
'Sets the upper bound of the color domain.',
284284
'Value should be associated to the `marker.color` array index,',
285285
'and if set, `marker.cmin` must be set as well.'
@@ -290,7 +290,7 @@ module.exports = {
290290
dflt: null,
291291
role: 'info',
292292
description: [
293-
'Has only an effect if `marker.color` is set to a numerical array.',
293+
'Has an effect only if `marker.color` is set to a numerical array.',
294294
'Sets the lower bound of the color domain.',
295295
'Value should be associated to the `marker.color` array index,',
296296
'and if set, `marker.cmax` must be set as well.'
@@ -301,7 +301,7 @@ module.exports = {
301301
dflt: true,
302302
role: 'style',
303303
description: [
304-
'Has only an effect if `marker.color` is set to a numerical array.',
304+
'Has an effect only if `marker.color` is set to a numerical array.',
305305
'Determines whether or not the colorscale is picked using',
306306
'values inside `marker.color`.'
307307
].join(' ')
@@ -311,7 +311,7 @@ module.exports = {
311311
role: 'style',
312312
dflt: false,
313313
description: [
314-
'Has only an effect if `marker.color` is set to a numerical array.',
314+
'Has an effect only if `marker.color` is set to a numerical array.',
315315
'Reverses the colorscale.'
316316
].join(' ')
317317
},
@@ -320,7 +320,7 @@ module.exports = {
320320
role: 'info',
321321
dflt: false,
322322
description: [
323-
'Has only an effect if `marker.color` is set to a numerical array.',
323+
'Has an effect only if `marker.color` is set to a numerical array.',
324324
'Determines whether or not a colorbar is displayed.'
325325
].join(' ')
326326
},
@@ -364,7 +364,7 @@ module.exports = {
364364
dflt: true,
365365
role: 'style',
366366
description: [
367-
'Has only an effect if `marker.line.color` is set to a numerical array.',
367+
'Has an effect only if `marker.line.color` is set to a numerical array.',
368368
'Determines the whether or not the color domain is computed',
369369
'with respect to the input data.'
370370
].join(' ')
@@ -374,7 +374,7 @@ module.exports = {
374374
dflt: null,
375375
role: 'info',
376376
description: [
377-
'Has only an effect if `marker.line.color` is set to a numerical array.',
377+
'Has an effect only if `marker.line.color` is set to a numerical array.',
378378
'Sets the upper bound of the color domain.',
379379
'Value should be associated to the `marker.line.color` array index,',
380380
'and if set, `marker.line.cmin` must be set as well.'
@@ -385,7 +385,7 @@ module.exports = {
385385
dflt: null,
386386
role: 'info',
387387
description: [
388-
'Has only an effect if `marker.line.color` is set to a numerical array.',
388+
'Has an effect only if `marker.line.color` is set to a numerical array.',
389389
'Sets the lower bound of the color domain.',
390390
'Value should be associated to the `marker.line.color` array index,',
391391
'and if set, `marker.line.cmax` must be set as well.'
@@ -396,7 +396,7 @@ module.exports = {
396396
dflt: true,
397397
role: 'style',
398398
description: [
399-
'Has only an effect if `marker.line.color` is set to a numerical array.',
399+
'Has an effect only if `marker.line.color` is set to a numerical array.',
400400
'Determines whether or not the colorscale is picked using',
401401
'the sign of values inside `marker.line.color`.'
402402
].join(' ')
@@ -406,7 +406,7 @@ module.exports = {
406406
dflt: false,
407407
role: 'style',
408408
description: [
409-
'Has only an effect if `marker.line.color` is set to a numerical array.',
409+
'Has an effect only if `marker.line.color` is set to a numerical array.',
410410
'Reverses the colorscale.'
411411
].join(' ')
412412
}

0 commit comments

Comments
 (0)