We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7b1b3a commit a9375e9Copy full SHA for a9375e9
test/jasmine/tests/plot_api_test.js
@@ -2540,7 +2540,6 @@ describe('Test plot api', function() {
2540
2541
var layout = {
2542
annotations: [
2543
- { ref: 'paper' },
2544
null,
2545
{ xref: 'x02', yref: 'y1' }
2546
],
@@ -2553,9 +2552,8 @@ describe('Test plot api', function() {
2553
2552
2554
Plotly.newPlot(gd, data, layout);
2555
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' });
+ expect(gd.layout.annotations[0]).toEqual(null);
+ expect(gd.layout.annotations[1]).toEqual({ xref: 'x2', yref: 'y' });
2559
2560
expect(gd.layout.shapes[0].xref).toBeUndefined();
2561
expect(gd.layout.shapes[0].yref).toBeUndefined();
0 commit comments