@@ -325,7 +325,7 @@ describe('Test colorscale:', function() {
325325 z = [ [ 0 , - 1.5 ] , [ - 2 , - 10 ] ] ;
326326 calcColorscale ( trace , z , '' , 'z' ) ;
327327 expect ( trace . autocolorscale ) . toBe ( true ) ;
328- expect ( trace . colorscale [ 5 ] ) . toEqual ( [ 1 , 'rgb(220, 220, 220)' ] ) ;
328+ expect ( trace . colorscale [ 5 ] ) . toEqual ( [ 1 , 'rgb(220,220,220)' ] ) ;
329329 } ) ;
330330
331331 it ( 'should be Blues when the only numerical z <= -0.5' , function ( ) {
@@ -338,7 +338,7 @@ describe('Test colorscale:', function() {
338338 z = [ [ undefined , undefined ] , [ - 0.5 , undefined ] ] ;
339339 calcColorscale ( trace , z , '' , 'z' ) ;
340340 expect ( trace . autocolorscale ) . toBe ( true ) ;
341- expect ( trace . colorscale [ 5 ] ) . toEqual ( [ 1 , 'rgb(220, 220, 220)' ] ) ;
341+ expect ( trace . colorscale [ 5 ] ) . toEqual ( [ 1 , 'rgb(220,220,220)' ] ) ;
342342 } ) ;
343343
344344 it ( 'should be Reds when the only numerical z >= 0.5' , function ( ) {
@@ -351,7 +351,7 @@ describe('Test colorscale:', function() {
351351 z = [ [ undefined , undefined ] , [ 0.5 , undefined ] ] ;
352352 calcColorscale ( trace , z , '' , 'z' ) ;
353353 expect ( trace . autocolorscale ) . toBe ( true ) ;
354- expect ( trace . colorscale [ 0 ] ) . toEqual ( [ 0 , 'rgb(220, 220, 220)' ] ) ;
354+ expect ( trace . colorscale [ 0 ] ) . toEqual ( [ 0 , 'rgb(220,220,220)' ] ) ;
355355 } ) ;
356356
357357 it ( 'should be reverse the auto scale when reversescale is true' , function ( ) {
@@ -365,7 +365,8 @@ describe('Test colorscale:', function() {
365365 z = [ [ undefined , undefined ] , [ 0.5 , undefined ] ] ;
366366 calcColorscale ( trace , z , '' , 'z' ) ;
367367 expect ( trace . autocolorscale ) . toBe ( true ) ;
368- expect ( trace . colorscale [ trace . colorscale . length - 1 ] ) . toEqual ( [ 1 , 'rgb(220, 220, 220)' ] ) ;
368+ expect ( trace . colorscale [ trace . colorscale . length - 1 ] )
369+ . toEqual ( [ 1 , 'rgb(220,220,220)' ] ) ;
369370 } ) ;
370371
371372 } ) ;
0 commit comments