@@ -4179,11 +4179,11 @@ describe('Test axes', function() {
4179
4179
} , {
4180
4180
xaxis : {
4181
4181
rangebreaks : [
4182
- { pattern : '%H' , bounds : [ 17 , 8 ] }
4182
+ { pattern : '%H' , bounds : [ 17 , 8 ] , operation : '()' }
4183
4183
]
4184
4184
}
4185
4185
} ) ;
4186
- _assert ( 'with dflt operation' , [
4186
+ _assert ( 'with () operation' , [
4187
4187
1577952000000 , BADNUM ,
4188
4188
1578038400000 , BADNUM ,
4189
4189
1578124800000 , BADNUM ,
@@ -4207,7 +4207,7 @@ describe('Test axes', function() {
4207
4207
} , {
4208
4208
xaxis : {
4209
4209
rangebreaks : [
4210
- { pattern : '%H' , bounds : [ 17 , 8 ] }
4210
+ { pattern : '%H' , bounds : [ 17 , 8 ] , operation : '()' }
4211
4211
]
4212
4212
}
4213
4213
} ) ;
@@ -4284,7 +4284,7 @@ describe('Test axes', function() {
4284
4284
{ bounds : [
4285
4285
'1970-01-01 00:00:00.002' ,
4286
4286
'1970-01-01 00:00:00.003'
4287
- ] }
4287
+ ] , operation : '()' }
4288
4288
]
4289
4289
}
4290
4290
} ) ;
@@ -4466,11 +4466,11 @@ describe('Test axes', function() {
4466
4466
{ bounds : [
4467
4467
'1969-12-31 23:59:59.990' ,
4468
4468
'1970-01-01 00:00:00.089'
4469
- ] } ,
4469
+ ] , operation : '()' } ,
4470
4470
{ bounds : [
4471
4471
'1970-01-01 00:00:00.101' ,
4472
4472
'1970-01-01 00:00:00.189'
4473
- ] }
4473
+ ] , operation : '()' }
4474
4474
] ;
4475
4475
return Plotly . react ( gd , gd . data , gd . layout ) ;
4476
4476
} )
@@ -4506,11 +4506,11 @@ describe('Test axes', function() {
4506
4506
{ bounds : [
4507
4507
'1969-12-31 23:59:59.989' ,
4508
4508
'1970-01-01 00:00:00.090'
4509
- ] } ,
4509
+ ] , operation : '()' } ,
4510
4510
{ bounds : [
4511
4511
'1970-01-01 00:00:00.101' ,
4512
4512
'1970-01-01 00:00:00.300'
4513
- ] }
4513
+ ] , operation : '()' }
4514
4514
] ;
4515
4515
return Plotly . react ( gd , gd . data , gd . layout ) ;
4516
4516
} )
@@ -4611,7 +4611,7 @@ describe('Test axes', function() {
4611
4611
} )
4612
4612
. then ( function ( ) {
4613
4613
gd . layout . xaxis . rangebreaks = [
4614
- { pattern : '%w' , bounds : [ 5 , 1 ] }
4614
+ { pattern : '%w' , bounds : [ 5 , 1 ] , operation : '()' }
4615
4615
] ;
4616
4616
return Plotly . react ( gd , gd . data , gd . layout ) ;
4617
4617
} )
@@ -4641,7 +4641,7 @@ describe('Test axes', function() {
4641
4641
} )
4642
4642
. then ( function ( ) {
4643
4643
gd . layout . xaxis . rangebreaks = [
4644
- { pattern : '%w' , bounds : [ 4 , 6 ] }
4644
+ { pattern : '%w' , bounds : [ 4 , 6 ] , operation : '()' }
4645
4645
] ;
4646
4646
return Plotly . react ( gd , gd . data , gd . layout ) ;
4647
4647
} )
@@ -4680,7 +4680,7 @@ describe('Test axes', function() {
4680
4680
} )
4681
4681
. then ( function ( ) {
4682
4682
gd . layout . xaxis . rangebreaks = [
4683
- { pattern : '%H' , bounds : [ 17 , 8 ] }
4683
+ { pattern : '%H' , bounds : [ 17 , 8 ] , operation : '()' }
4684
4684
] ;
4685
4685
return Plotly . react ( gd , gd . data , gd . layout ) ;
4686
4686
} )
@@ -4705,8 +4705,8 @@ describe('Test axes', function() {
4705
4705
} )
4706
4706
. then ( function ( ) {
4707
4707
gd . layout . xaxis . rangebreaks = [
4708
- { pattern : '%w' , bounds : [ 5 , 1 ] } ,
4709
- { pattern : '%H' , bounds : [ 17 , 8 ] }
4708
+ { pattern : '%w' , bounds : [ 5 , 1 ] , operation : '()' } ,
4709
+ { pattern : '%H' , bounds : [ 17 , 8 ] , operation : '()' }
4710
4710
] ;
4711
4711
return Plotly . react ( gd , gd . data , gd . layout ) ;
4712
4712
} )
@@ -4728,8 +4728,8 @@ describe('Test axes', function() {
4728
4728
} )
4729
4729
. then ( function ( ) {
4730
4730
gd . layout . xaxis . rangebreaks = [
4731
- { pattern : '%H' , bounds : [ 17 , 8 ] } ,
4732
- { pattern : '%w' , bounds : [ 5 , 1 ] }
4731
+ { pattern : '%H' , bounds : [ 17 , 8 ] , operation : '()' } ,
4732
+ { pattern : '%w' , bounds : [ 5 , 1 ] , operation : '()' }
4733
4733
] ;
4734
4734
return Plotly . react ( gd , gd . data , gd . layout ) ;
4735
4735
} )
@@ -4751,7 +4751,7 @@ describe('Test axes', function() {
4751
4751
} )
4752
4752
. then ( function ( ) {
4753
4753
gd . layout . xaxis . rangebreaks = [
4754
- { pattern : '%H' , bounds : [ 17 , 8 ] }
4754
+ { pattern : '%H' , bounds : [ 17 , 8 ] , operation : '()' }
4755
4755
] ;
4756
4756
// N.B. xaxis.range[0] falls within a break
4757
4757
gd . layout . xaxis . autorange = false ;
@@ -4772,7 +4772,7 @@ describe('Test axes', function() {
4772
4772
} )
4773
4773
. then ( function ( ) {
4774
4774
gd . layout . xaxis . rangebreaks = [
4775
- { pattern : '%w' , bounds : [ 1 , 4 ] }
4775
+ { pattern : '%w' , bounds : [ 1 , 4 ] , operation : '()' }
4776
4776
] ;
4777
4777
// N.B. xaxis.range[0] falls within a break
4778
4778
gd . layout . xaxis . autorange = false ;
0 commit comments