Skip to content

Commit c4d75d4

Browse files
committed
Update mocks
1 parent 087c162 commit c4d75d4

File tree

4 files changed

+59
-2
lines changed

4 files changed

+59
-2
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"data": [
3+
{
4+
"showlegend": false,
5+
"type": "scatter",
6+
"x": [
7+
1,
8+
2,
9+
3
10+
],
11+
"y": [
12+
4,
13+
5,
14+
6
15+
]
16+
}],
17+
"layout": {
18+
"height": 300,
19+
"width": 400,
20+
"margin": {"t":0, "b": 0, "l": 0, "r": 0},
21+
"xaxis": {"automargin": true, "title": {"text": "x-axis title"}},
22+
"title": {
23+
"automargin": true,
24+
"text": "Basic title",
25+
"pad": {"t": 0, "b": 0},
26+
"y": 0,
27+
"yref": "container"
28+
}
29+
}
30+
}

test/image/mocks/zzz-automargin-title-container.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"title": {
2323
"automargin": true,
2424
"text": "Basic title",
25-
"font": {"size": 24},
2625
"pad": {"t": 0, "b": 0},
2726
"y": 0,
2827
"yref": "container"
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"data": [
3+
{
4+
"showlegend": false,
5+
"type": "scatter",
6+
"x": [
7+
1,
8+
2,
9+
3
10+
],
11+
"y": [
12+
4,
13+
5,
14+
6
15+
]
16+
}],
17+
"layout": {
18+
"height": 300,
19+
"width": 400,
20+
"margin": {"t":0, "b": 0, "l": 0, "r": 0},
21+
"title": {
22+
"automargin": true,
23+
"text": "Basic title",
24+
"pad": {"t": 15, "b": 10},
25+
"yref": "paper",
26+
"y": 0
27+
}
28+
}
29+
}

test/image/mocks/zzz-automargin-title-paper.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"title": {
2222
"automargin": true,
2323
"text": "Basic title",
24-
"font": {"size": 24},
2524
"pad": {"t": 15, "b": 10},
2625
"yref": "paper"
2726
}

0 commit comments

Comments
 (0)