8000 Images: Update test mock · rowhit/plotly.js@5b9077c · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b9077c

Browse files
committed
Images: Update test mock
1 parent 3cbb4c2 commit 5b9077c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

test/image/mocks/layout_image.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,47 +8,47 @@
88
"layout": {
99
"images": [
1010
{
11-
"source": "http://www.placekitten.com/100",
11+
"source": "https://images.plot.ly/language-icons/api-home/python-logo.png",
1212
"xref": "paper",
1313
"yref": "paper",
1414
"x": 0,
1515
"y": 0,
16-
"width": 0.2,
17-
"height": 0.2,
16+
"sizex": 0.2,
17+
"sizey": 0.2,
1818
"xanchor": "right",
1919
"yanchor": "bottom"
2020
},
2121
{
22-
"source": "http://www.placekitten.com/300",
22+
"source": "https://images.plot.ly/language-icons/api-home/js-logo.png",
2323
"xref": "x",
2424
"yref": "y",
2525
"x": 2.5,
2626
"y": 2,
27-
"width": 1,
28-
"height": 1,
27+
"sizex": 1,
28+
"sizey": 1,
2929
"xanchor": "center",
3030
"yanchor": "middle",
3131
"layer": "below"
3232
},
3333
{
34-
"source": "http://www.placekitten.com/400",
34+
"source": "https://images.plot.ly/language-icons/api-home/r-logo.png",
3535
"xref": "x",
3636
"yref": "y",
3737
"x": 1,
3838
"y": 3,
39-
"width": 2,
40-
"height": 2,
39+
"sizex": 2,
40+
"sizey": 2,
4141
"sizing": "stretch",
4242
"opacity": 0.4
4343
},
4444
{
45-
"source": "http://www.placekitten.com/300",
45+
"source": "https://images.plot.ly/language-icons/api-home/matlab-logo.png",
4646
"xref": "x",
4747
"yref": "paper",
4848
"x": 2.75,
4949
"y": 0,
50-
"width": 0.5,
51-
"height": 1,
50+
"sizex": 0.5,
51+
"sizey": 1,
5252
"opacity": 1,
5353
"xanchor": "left",
5454
"yanchor": "top"

0 commit comments

Comments
 (0)
0