@@ -246,11 +246,15 @@ module.exports = {
246
246
valType : 'colorscale' ,
247
247
role : 'style' ,
248
248
description : [
249
- 'Has only an effect if `marker.color` is set to a numerical array.' ,
250
- 'Sets the colorscale. The colorscale must be an array containing' ,
251
- 'arrays mapping a normalized value to an rgb color. At minimum, a' ,
252
- 'mapping for the lowest (0) and highest (1) values are required.' ,
253
- 'For example, `[[0, \'rgb(0,0,255)\', [1, \'rgb(255,0,0)\']]`'
249
+ 'Sets the colorscale.' ,
250
+ 'The colorscale must be an array containing' ,
251
+ 'arrays mapping a normalized value to an' ,
252
+ 'rgb, rgba, hex, hsl, hsv, or named color string.' ,
253
+ 'At minimum, a mapping for the lowest (0) and highest (1)' ,
254
+ 'values are required. For example,' ,
255
+ '`[[0, \'rgb(0,0,255)\', [1, \'rgb(255,0,0)\']]`.' ,
256
+ 'To control the bounds of the colorscale in color space,' ,
257
+ 'use cmin and cmax'
254
258
] . join ( ' ' )
255
259
} ,
256
260
cauto : {
0 commit comments