@@ -1897,8 +1897,7 @@ describe('Test select box and lasso per trace:', function() {
1897
1897
Plotly . plot ( gd , fig )
1898
1898
. then ( function ( ) {
1899
1899
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
1900
- } )
1901
- . then ( function ( ) {
1900
+
1902
1901
return _run ( hasCssTransform ,
1903
1902
[ [ 400 , 200 ] , [ 445 , 235 ] ] ,
1904
1903
function ( ) {
@@ -1956,8 +1955,7 @@ describe('Test select box and lasso per trace:', function() {
1956
1955
Plotly . plot ( gd , fig )
1957
1956
. then ( function ( ) {
1958
1957
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
1959
- } )
1960
- . then ( function ( ) {
1958
+
1961
1959
return _run ( hasCssTransform ,
1962
1960
[ [ 300 , 200 ] , [ 400 , 250 ] ] ,
1963
1961
function ( ) {
@@ -2006,8 +2004,7 @@ describe('Test select box and lasso per trace:', function() {
2006
2004
Plotly . plot ( gd , fig )
2007
2005
. then ( function ( ) {
2008
2006
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2009
- } )
2010
- . then ( function ( ) {
2007
+
2011
2008
return _run ( hasCssTransform ,
2012
2009
[ [ 370 , 120 ] , [ 500 , 200 ] ] ,
2013
2010
function ( ) {
@@ -2068,8 +2065,7 @@ describe('Test select box and lasso per trace:', function() {
2068
2065
Plotly . plot ( gd , fig )
2069
2066
. then ( function ( ) {
2070
2067
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2071
- } )
2072
- . then ( function ( ) {
2068
+
2073
2069
return _run ( hasCssTransform ,
2074
2070
[ [ 150 , 150 ] , [ 300 , 300 ] ] ,
2075
2071
function ( ) {
@@ -2143,8 +2139,7 @@ describe('Test select box and lasso per trace:', function() {
2143
2139
Plotly . plot ( gd , fig )
2144
2140
. then ( function ( ) {
2145
2141
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2146
- } )
2147
- . then ( function ( ) {
2142
+
2148
2143
return _run ( hasCssTransform ,
2149
2144
[ [ 350 , 200 ] , [ 450 , 400 ] ] ,
2150
2145
function ( ) {
@@ -2219,8 +2214,7 @@ describe('Test select box and lasso per trace:', function() {
2219
2214
Plotly . plot ( gd , fig )
2220
2215
. then ( function ( ) {
2221
2216
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2222
- } )
2223
- . then ( function ( ) {
2217
+
2224
2218
return _run ( hasCssTransform ,
2225
2219
[ [ 150 , 150 ] , [ 350 , 250 ] ] ,
2226
2220
function ( ) {
@@ -2265,8 +2259,7 @@ describe('Test select box and lasso per trace:', function() {
2265
2259
Plotly . plot ( gd , fig )
2266
2260
. then ( function ( ) {
2267
2261
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2268
- } )
2269
- . then ( function ( ) {
2262
+
2270
2263
return _run ( hasCssTransform ,
2271
2264
[ [ 150 , 150 ] , [ 250 , 250 ] ] ,
2272
2265
function ( ) {
@@ -2336,8 +2329,7 @@ describe('Test select box and lasso per trace:', function() {
2336
2329
Plotly . plot ( gd , fig )
2337
2330
. then ( function ( ) {
2338
2331
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2339
- } )
2340
- . then ( function ( ) {
2332
+
2341
2333
return _run ( hasCssTransform ,
2342
2334
[ [ 350 , 200 ] , [ 400 , 250 ] ] ,
2343
2335
function ( ) {
@@ -2394,8 +2386,7 @@ describe('Test select box and lasso per trace:', function() {
2394
2386
Plotly . plot ( gd , fig )
2395
2387
. then ( function ( ) {
2396
2388
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2397
- } )
2398
- . then ( function ( ) {
2389
+
2399
2390
return _run ( hasCssTransform ,
2400
2391
[ [ 400 , 300 ] , [ 200 , 400 ] , [ 400 , 500 ] , [ 600 , 400 ] , [ 500 , 350 ] ] ,
2401
2392
function ( ) {
@@ -2457,8 +2448,7 @@ describe('Test select box and lasso per trace:', function() {
2457
2448
Plotly . plot ( gd , fig )
2458
2449
. then ( function ( ) {
2459
2450
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2460
- } )
2461
- . then ( function ( ) {
2451
+
2462
2452
return _run ( hasCssTransform ,
2463
2453
[ [ 400 , 300 ] , [ 200 , 400 ] , [ 400 , 500 ] , [ 600 , 400 ] , [ 500 , 350 ] ] ,
2464
2454
function ( ) {
@@ -2522,8 +2512,7 @@ describe('Test select box and lasso per trace:', function() {
2522
2512
Plotly . plot ( gd , fig )
2523
2513
. then ( function ( ) {
2524
2514
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2525
- } )
2526
- . then ( function ( ) {
2515
+
2527
2516
return _run ( hasCssTransform ,
2528
2517
[ [ 350 , 200 ] , [ 400 , 200 ] , [ 400 , 250 ] , [ 350 , 250 ] , [ 350 , 200 ] ] ,
2529
2518
function ( ) {
@@ -2631,8 +2620,7 @@ describe('Test select box and lasso per trace:', function() {
2631
2620
Plotly . plot ( gd , fig )
2632
2621
. then ( function ( ) {
2633
2622
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2634
- } )
2635
- . then ( function ( ) {
2623
+
2636
2624
return _run ( hasCssTransform ,
2637
2625
[ [ x0 , y0 ] , [ x1 , y0 ] , [ x1 , y1 ] , [ x0 , y1 ] , [ x0 , y0 ] ] ,
2638
2626
function ( ) {
@@ -2682,8 +2670,7 @@ describe('Test select box and lasso per trace:', function() {
2682
2670
Plotly . plot ( gd , fig )
2683
2671
. then ( function ( ) {
2684
2672
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2685
- } )
2686
- . then ( function ( ) {
2673
+
2687
2674
return _run ( hasCssTransform ,
2688
2675
[ [ 200 , 200 ] , [ 400 , 200 ] , [ 400 , 350 ] , [ 200 , 350 ] , [ 200 , 200 ] ] ,
2689
2676
function ( ) {
@@ -2740,8 +2727,7 @@ describe('Test select box and lasso per trace:', function() {
2740
2727
Plotly . plot ( gd , fig )
2741
2728
. then ( function ( ) {
2742
2729
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2743
- } )
2744
- . then ( function ( ) {
2730
+
2745
2731
return _run ( hasCssTransform ,
2746
2732
[ [ 200 , 200 ] , [ 400 , 200 ] , [ 400 , 350 ] , [ 200 , 350 ] , [ 200 , 200 ] ] ,
2747
2733
function ( ) {
@@ -2815,8 +2801,7 @@ describe('Test select box and lasso per trace:', function() {
2815
2801
Plotly . plot ( gd , fig )
2816
2802
. then ( function ( ) {
2817
2803
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2818
- } )
2819
- . then ( function ( ) {
2804
+
2820
2805
return _run ( hasCssTransform ,
2821
2806
[ [ 200 , 200 ] , [ 400 , 200 ] , [ 400 , 350 ] , [ 200 , 350 ] , [ 200 , 200 ] ] ,
2822
2807
function ( ) {
@@ -2860,8 +2845,7 @@ describe('Test select box and lasso per trace:', function() {
2860
2845
Plotly . plot ( gd , fig )
2861
2846
. then ( function ( ) {
2862
2847
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2863
- } )
2864
- . then ( function ( ) {
2848
+
2865
2849
return _run ( hasCssTransform ,
2866
2850
[ [ 200 , 200 ] , [ 400 , 200 ] , [ 400 , 350 ] , [ 200 , 350 ] , [ 200 , 200 ] ] ,
2867
2851
function ( ) {
@@ -2957,8 +2941,7 @@ describe('Test select box and lasso per trace:', function() {
2957
2941
} )
2958
2942
. then ( function ( ) {
2959
2943
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
2960
- } )
2961
- . then ( function ( ) {
2944
+
2962
2945
return _run ( hasCssTransform ,
2963
2946
[ [ l0 , t ] , [ l0 , b ] , [ r0 , b ] , [ r0 , t ] , [ l0 , t ] ] ,
2964
2947
function ( ) {
@@ -3026,8 +3009,7 @@ describe('Test select box and lasso per trace:', function() {
3026
3009
} )
3027
3010
. then ( function ( ) {
3028
3011
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
3029
- } )
3030
- . then ( function ( ) {
3012
+
3031
3013
return _run ( hasCssTransform ,
3032
3014
[ [ 5 , 5 ] , [ 395 , 395 ] ] ,
3033
3015
function ( ) {
@@ -3078,8 +3060,7 @@ describe('Test select box and lasso per trace:', function() {
3078
3060
} )
3079
3061
. then ( function ( ) {
3080
3062
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
3081
- } )
3082
- . then ( function ( ) {
3063
+
3083
3064
return _run ( hasCssTransform ,
3084
3065
[ [ 10 , 10 ] , [ 100 , 300 ] ] ,
3085
3066
function ( ) {
@@ -3109,8 +3090,7 @@ describe('Test select box and lasso per trace:', function() {
3109
3090
Plotly . plot ( gd , fig )
3110
3091
. then ( function ( ) {
3111
3092
if ( hasCssTransform ) transformPlot ( gd , cssTransform ) ;
3112
- } )
3113
- . then ( function ( ) {
3093
+
3114
3094
// No groups initially
3115
3095
expect ( gd . _fullData [ 0 ] . node . groups ) . toEqual ( [ ] ) ;
3116
3096
} )
0 commit comments