@@ -17,8 +17,8 @@ var cm = ['rgb', 'rgba', 'hsl', 'hsla'];
1717var zminDesc = [ ] ;
1818var zmaxDesc = [ ] ;
1919for ( 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 ( ', ' ) + ']. ' ) ;
2222}
2323
2424module . exports = extendFlat ( {
@@ -51,12 +51,12 @@ module.exports = extendFlat({
5151 editType : 'plot' ,
5252 description : [
5353 '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 ( ' ' )
5657 } ,
5758 zmax : {
5859 valType : 'info_array' ,
59- dimensions : '1-2' ,
6060 items : [
6161 { valType : 'number' , editType : 'plot' } ,
6262 { valType : 'number' , editType : 'plot' } ,
@@ -67,8 +67,9 @@ module.exports = extendFlat({
6767 editType : 'plot' ,
6868 description : [
6969 '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 ( ' ' )
7273 } ,
7374 x0 : {
7475 valType : 'number' ,
0 commit comments