Skip to content

Commit 02ed858

Browse files
committed
plotly#189 image test mocks and baseline images
1 parent c7fb84b commit 02ed858

10 files changed

+154
-0
lines changed
26.3 KB
Loading
Loading
Loading
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"data": [{
3+
"x": ["c","a","e","b","d"],
4+
"y": [15,11,12,13,14]}
5+
],
6+
"layout": {
7+
"xaxis": {
8+
"title": "category ascending",
9+
"type": "category",
10+
"categorymode": "category ascending",
11+
"categorylist": ["y","b","x","a","d","z","e","c", "q", "k"]
12+
}}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"data": [
3+
{
4+
"x": [
5+
1,
6+
2,
7+
null,
8+
4,
9+
5
10+
],
11+
"y": [
12+
1,
13+
2,
14+
3,
15+
4,
16+
5
17+
],
18+
"connectgaps": false,
19+
"uid": "8ac13a"
20+
}
21+
],
22+
"layout": {
23+
"title": "categorylist",
24+
"xaxis": {
25+
"type": "category",
26+
"range": [
27+
-0.18336673346693386,
28+
3.1833667334669338
29+
],
30+
"autorange": true,
31+
"categorymode": "array",
32+
"categorylist": [2,4,5,1]
33+
},
34+
"yaxis": {
35+
"type": "linear",
36+
"range": [
37+
0.7070063694267517,
38+
5.292993630573249
39+
],
40+
"autorange": true
41+
},
42+
"height": 450,
43+
"width": 1000,
44+
"autosize": true
45+
}
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"data": [{
3+
"x": ["c","a","e","b","d"],
4+
"y": [15,11,12,13,14]}
5+
],
6+
"layout": {
7+
"title": "categorylist with truncated tails (y, q, k not plotted)",
8+
"xaxis": {
9+
"type": "category",
10+
"categorymode": "array",
11+
"categorylist": ["y","b","x","a","d","z","e","c", "q", "k"]
12+
}}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"data": [
3+
{
4+
"x": [
5+
5,
6+
1,
7+
3,
8+
2,
9+
4
10+
],
11+
"y": [
12+
1,
13+
2,
14+
3,
15+
4,
16+
5
17+
],
18+
"connectgaps": false,
19+
"uid": "8ac13a"
20+
}
21+
],
22+
"layout": {
23+
"title": "category descending",
24+
"xaxis": {
25+
"type": "category",
26+
"categorymode": "category descending",
27+
"categorylist": [2,4,5,1]
28+
},
29+
"yaxis": {
30+
"type": "linear",
31+
"range": [
32+
0.7070063694267517,
33+
5.292993630573249
34+
],
35+
"autorange": true
36+
},
37+
"height": 450,
38+
"width": 1000,
39+
"autosize": true
40+
}
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"data": [
3+
{
4+
"x": [
5+
5,
6+
null,
7+
3,
8+
2,
9+
4
10+
],
11+
"y": [
12+
1,
13+
2,
14+
3,
15+
null,
16+
5
17+
],
18+
"connectgaps": false,
19+
"uid": "8ac13a"
20+
}
21+
],
22+
"layout": {
23+
"title": "category descending",
24+
"xaxis": {
25+
"type": "category",
26+
"categorymode": "category descending",
27+
"categorylist": [2,4,5,1]
28+
},
29+
"yaxis": {
30+
"type": "linear",
31+
"range": [
32+
0.7070063694267517,
33+
5.292993630573249
34+
],
35+
"autorange": true
36+
},
37+
"height": 450,
38+
"width": 1000,
39+
"autosize": true
40+
}
41+
}

0 commit comments

Comments
 (0)