File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2540,7 +2540,6 @@ describe('Test plot api', function() {
2540
2540
2541
2541
var layout = {
2542
2542
annotations : [
2543
- { ref : 'paper' } ,
2544
2543
null ,
2545
2544
{ xref : 'x02' , yref : 'y1' }
2546
2545
] ,
@@ -2553,9 +2552,8 @@ describe('Test plot api', function() {
2553
2552
2554
2553
Plotly . newPlot ( gd , data , layout ) ;
2555
2554
2556
- expect ( gd . layout . annotations [ 0 ] ) . toEqual ( { xref : 'paper' , yref : 'paper' } ) ;
2557
- expect ( gd . layout . annotations [ 1 ] ) . toEqual ( null ) ;
2558
- expect ( gd . layout . annotations [ 2 ] ) . toEqual ( { xref : 'x2' , yref : 'y' } ) ;
2555
+ expect ( gd . layout . annotations [ 0 ] ) . toEqual ( null ) ;
2556
+ expect ( gd . layout . annotations [ 1 ] ) . toEqual ( { xref : 'x2' , yref : 'y' } ) ;
2559
2557
2560
2558
expect ( gd . layout . shapes [ 0 ] . xref ) . toBeUndefined ( ) ;
2561
2559
expect ( gd . layout . shapes [ 0 ] . yref ) . toBeUndefined ( ) ;
You can’t perform that action at this time.
0 commit comments