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() {
25402540
25412541 var layout = {
25422542 annotations : [
2543- { ref : 'paper' } ,
25442543 null ,
25452544 { xref : 'x02' , yref : 'y1' }
25462545 ] ,
@@ -2553,9 +2552,8 @@ describe('Test plot api', function() {
25532552
25542553 Plotly . newPlot ( gd , data , layout ) ;
25552554
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' } ) ;
25592557
25602558 expect ( gd . layout . shapes [ 0 ] . xref ) . toBeUndefined ( ) ;
25612559 expect ( gd . layout . shapes [ 0 ] . yref ) . toBeUndefined ( ) ;
You can’t perform that action at this time.
0 commit comments