@@ -107,7 +107,7 @@ describe('Layout images', function() {
107
107
it ( 'should draw images on the right layers' , function ( ) {
108
108
109
109
Plotly . plot ( gd , data , { images : [ {
110
- source : 'imageabove' ,
110
+ source : jsLogo ,
111
111
layer : 'above'
112
112
} ] } ) ;
113
113
@@ -116,7 +116,7 @@ describe('Layout images', function() {
116
116
destroyGraphDiv ( ) ;
117
117
gd = createGraphDiv ( ) ;
118
118
Plotly . plot ( gd , data , { images : [ {
119
- source : 'imagebelow' ,
119
+ source : jsLogo ,
120
120
layer : 'below'
121
121
} ] } ) ;
122
122
@@ -125,7 +125,7 @@ describe('Layout images', function() {
125
125
destroyGraphDiv ( ) ;
126
126
gd = createGraphDiv ( ) ;
127
127
Plotly . plot ( gd , data , { images : [ {
128
- source : 'imagesubplot' ,
128
+ source : jsLogo ,
129
129
layer : 'below' ,
130
130
xref : 'x' ,
131
131
yref : 'y'
@@ -162,9 +162,9 @@ describe('Layout images', function() {
162
162
describe ( 'with anchors and sizing' , function ( ) {
163
163
164
164
function testAspectRatio ( xAnchor , yAnchor , sizing , expected ) {
165
- var anchorName = xAnchor + yAnchor ;
165
+ // var anchorName = xAnchor + yAnchor;
166
166
Plotly . plot ( gd , data , { images : [ {
167
- source : anchorName ,
167
+ source : jsLogo ,
168
168
xanchor : xAnchor ,
169
169
yanchor : yAnchor ,
170
170
sizing : sizing
@@ -430,7 +430,7 @@ describe('images log/linear axis changes', function() {
430
430
] ,
431
431
layout : {
432
432
images : [ {
433
- source : 'https://images.plot.ly/language-icons/api-home/python-logo.png' ,
433
+ source : pythonLogo ,
434
434
x : 1 ,
435
435
y : 1 ,
436
436
xref : 'x' ,
0 commit comments