Skip to content

Commit 0ca4b3a

Browse files
committed
Heatmap: Add image test for zsmooth methods
1 parent 13a32d7 commit 0ca4b3a

File tree

2 files changed

+129
-0
lines changed

2 files changed

+129
-0
lines changed
67.2 KB
Loading

test/image/mocks/zsmooth_methods.json

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
{
2+
"data": [
3+
{
4+
"z": [
5+
[
6+
0.1189977,
7+
0.3403857,
8+
0.7512671,
9+
0.6990767,
10+
0.5472155
11+
],
12+
[
13+
0.4983641,
14+
0.5852678,
15+
0.2550951,
16+
0.8909033,
17+
0.1386244
18+
],
19+
[
20+
0.959744,
21+
0.2238119,
22+
0.5059571,
23+
0.9592914,
24+
0.149294
25+
]
26+
],
27+
"scl": "Jet",
28+
"zsmooth": "best",
29+
"type": "heatmap",
30+
"xaxis": "x",
31+
"yaxis": "y"
32+
},
33+
{
34+
"z": [
35+
[
36+
0.1189977,
37+
0.3403857,
38+
0.7512671,
39+
0.6990767,
40+
0.5472155
41+
],
42+
[
43+
0.4983641,
44+
0.5852678,
45+
0.2550951,
46+
0.8909033,
47+
0.1386244
48+
],
49+
[
50+
0.959744,
51+
0.2238119,
52+
0.5059571,
53+
0.9592914,
54+
0.149294
55+
]
56+
],
57+
"scl": "Jet",
58+
"zsmooth": "fast",
59+
"type": "heatmap",
60+
"xaxis": "x2",
61+
"yaxis": "y2"
62+
},
63+
{
64+
"z": [
65+
[
66+
0.1189977,
67+
0.3403857,
68+
0.7512671,
69+
0.6990767,
70+
0.5472155
71+
],
72+
[
73+
0.4983641,
74+
0.5852678,
75+
0.2550951,
76+
0.8909033,
77+
0.1386244
78+
],
79+
[
80+
0.959744,
81+
0.2238119,
82+
0.5059571,
83+
0.9592914,
84+
0.149294
85+
]
86+
],
87+
"scl": "Jet",
88+
"zsmooth": false,
89+
"type": "heatmap",
90+
"xaxis": "x3",
91+
"yaxis": "y3"
92+
}
93+
],
94+
"layout": {
95+
"title": "zsmooth: best, fast, false",
96+
"width": 800,
97+
"height": 350,
98+
"xaxis": {
99+
"domain": [
100+
0,
101+
0.31
102+
],
103+
"anchor": "y"
104+
},
105+
"yaxis": {
106+
"anchor": "x"
107+
},
108+
"xaxis2": {
109+
"domain": [
110+
0.35,
111+
0.64
112+
],
113+
"anchor": "y2"
114+
},
115+
"yaxis2": {
116+
"anchor": "x2"
117+
},
118+
"xaxis3": {
119+
"domain": [
120+
0.68,
121+
1
122+
],
123+
"anchor": "y3"
124+
},
125+
"yaxis3": {
126+
"anchor": "x3"
127+
}
128+
}
129+
}

0 commit comments

Comments
 (0)