Skip to content

Commit e033d08

Browse files
committed
add three ternary image tests
1 parent 6465c6c commit e033d08

File tree

6 files changed

+636
-0
lines changed

6 files changed

+636
-0
lines changed
38.1 KB
Loading
37.4 KB
Loading
43.8 KB
Loading
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
{
2+
"data": [
3+
{
4+
"type": "scatterternary",
5+
"a": [
6+
0.2,
7+
0.3,
8+
null,
9+
0.1
10+
],
11+
"b": [
12+
0.1,
13+
0.2,
14+
null,
15+
0.4
16+
],
17+
"c": [
18+
0.1,
19+
0.2,
20+
null,
21+
0.1
22+
],
23+
"marker": {
24+
"symbol": [
25+
"square",
26+
"cross",
27+
null,
28+
"diamond"
29+
],
30+
"size": [
31+
10,
32+
20,
33+
null,
34+
30
35+
],
36+
"color": [
37+
20,
38+
30,
39+
null,
40+
10
41+
],
42+
"showscale": true,
43+
"line": {
44+
"width": [
45+
3,
46+
5,
47+
null,
48+
2
49+
],
50+
"color": [
51+
10,
52+
null,
53+
30,
54+
20
55+
],
56+
"colorscale": "Greens",
57+
"cmin": 10,
58+
"cmax": 30
59+
},
60+
"cmin": 10,
61+
"cmax": 30,
62+
"colorscale": [
63+
[
64+
0,
65+
"rgb(220,220,220)"
66+
],
67+
[
68+
0.2,
69+
"rgb(245,195,157)"
70+
],
71+
[
72+
0.4,
73+
"rgb(245,160,105)"
74+
],
75+
[
76+
1,
77+
"rgb(178,10,28)"
78+
]
79+
]
80+
},
81+
"line": {
82+
"dash": "dash",
83+
"shape": "spline",
84+
"width": 3
85+
},
86+
"connectgaps": true,
87+
"uid": "35ff50"
88+
}
89+
],
90+
"layout": {
91+
"ternary": {
92+
"aaxis": {
93+
"showline": true,
94+
"ticks": "inside",
95+
"showgrid": true,
96+
"color": "#ccc"
97+
},
98+
"baxis": {
99+
"showline": true,
100+
"ticks": "inside",
101+
"showgrid": true,
102+
"color": "#0f0",
103+
"title": "chocolate",
104+
"min": 0.2
105+
},
106+
"caxis": {
107+
"showline": true,
108+
"ticks": "inside",
109+
"showgrid": true
110+
}
111+
},
112+
"height": 450,
113+
"width": 700,
114+
"autosize": false
115+
}
116+
}

0 commit comments

Comments
 (0)