@@ -17,8 +17,8 @@ var cm = ['rgb', 'rgba', 'hsl', 'hsla'];
17
17
var zminDesc = [ ] ;
18
18
var zmaxDesc = [ ] ;
19
19
for ( var i = 0 ; i < cm . length ; i ++ ) {
20
- zminDesc . push ( 'For the `' + cm [ i ] + '` colormodel, it is [' + colormodel [ cm [ i ] ] . min . join ( ', ' ) + ']' ) ;
21
- zmaxDesc . push ( 'For the `' + cm [ i ] + '` colormodel, it is [' + colormodel [ cm [ i ] ] . max . join ( ', ' ) + ']' ) ;
20
+ zminDesc . push ( 'For the `' + cm [ i ] + '` colormodel, it is [' + colormodel [ cm [ i ] ] . min . join ( ', ' ) + ']. ' ) ;
21
+ zmaxDesc . push ( 'For the `' + cm [ i ] + '` colormodel, it is [' + colormodel [ cm [ i ] ] . max . join ( ', ' ) + ']. ' ) ;
22
22
}
23
23
24
24
module . exports = extendFlat ( {
@@ -51,12 +51,12 @@ module.exports = extendFlat({
51
51
editType : 'plot' ,
52
52
description : [
53
53
'Array defining the lower bound for each color component.' ,
54
- 'Note that the default value will depend on the colormodel.'
55
- ] . concat ( zminDesc ) . join ( ' ' )
54
+ 'Note that the default value will depend on the colormodel.' ,
55
+ zminDesc . join ( ' ' )
56
+ ] . join ( ' ' )
56
57
} ,
57
58
zmax : {
58
59
valType : 'info_array' ,
59
- dimensions : '1-2' ,
60
60
items : [
61
61
{ valType : 'number' , editType : 'plot' } ,
62
62
{ valType : 'number' , editType : 'plot' } ,
@@ -67,8 +67,9 @@ module.exports = extendFlat({
67
67
editType : 'plot' ,
68
68
description : [
69
69
'Array defining the higher bound for each color component.' ,
70
- 'Note that the default value will depend on the colormodel.'
71
- ] . concat ( zmaxDesc ) . join ( ' ' )
70
+ 'Note that the default value will depend on the colormodel.' ,
71
+ zmaxDesc . join ( ' ' )
72
+ ] . join ( ' ' )
72
73
} ,
73
74
x0 : {
74
75
valType : 'number' ,
0 commit comments