Skip to content

Commit 58d215b

Browse files
committed
Extend cmin/cmax descriptions
1 parent 538b3db commit 58d215b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/traces/scatter/attributes.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ module.exports = {
281281
description: [
282282
'Has only an effect if `marker.color` is set to a numerical array.',
283283
'Sets the upper bound of the color domain.',
284-
'Value should be associated to the `marker.color` array index.'
284+
'Value should be associated to the `marker.color` array index,',
285+
'and if set, `marker.cmin` must be set as well.'
285286
].join(' ')
286287
},
287288
cmin: {
@@ -291,7 +292,8 @@ module.exports = {
291292
description: [
292293
'Has only an effect if `marker.color` is set to a numerical array.',
293294
'Sets the lower bound of the color domain.',
294-
'Value should be associated to the `marker.color` array index.'
295+
'Value should be associated to the `marker.color` array index,',
296+
'and if set, `marker.cmax` must be set as well.'
295297
].join(' ')
296298
},
297299
autocolorscale: {
@@ -374,7 +376,8 @@ module.exports = {
374376
description: [
375377
'Has only an effect if `marker.line.color` is set to a numerical array.',
376378
'Sets the upper bound of the color domain.',
377-
'Value should be associated to the `marker.line.color` array index.'
379+
'Value should be associated to the `marker.line.color` array index,',
380+
'and if set, `marker.line.cmin` must be set as well.'
378381
].join(' ')
379382
},
380383
cmin: {
@@ -384,7 +387,8 @@ module.exports = {
384387
description: [
385388
'Has only an effect if `marker.line.color` is set to a numerical array.',
386389
'Sets the lower bound of the color domain.',
387-
'Value should be associated to the `marker.line.color` array index.'
390+
'Value should be associated to the `marker.line.color` array index,',
391+
'and if set, `marker.line.cmax` must be set as well.'
388392
].join(' ')
389393
},
390394
autocolorscale: {

0 commit comments

Comments
 (0)