Skip to content

Commit 0a23355

Browse files
committed
add test showing bug
1 parent 39bd75f commit 0a23355

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed
24 KB
Loading
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"data": [
3+
{
4+
"colorscale": "Reds",
5+
"text": [
6+
[
7+
"One",
8+
"Two",
9+
"Three"
10+
],
11+
[
12+
"Four",
13+
"Five",
14+
"Six"
15+
],
16+
[
17+
"Seven",
18+
"Eight",
19+
"Nine"
20+
]
21+
],
22+
"texttemplate": "%{text}",
23+
"x": [
24+
0,
25+
1,
26+
2
27+
],
28+
"y": [
29+
0,
30+
1,
31+
2
32+
],
33+
"z": [
34+
[
35+
null,
36+
2,
37+
3
38+
],
39+
[
40+
4,
41+
null,
42+
6
43+
],
44+
[
45+
7,
46+
8,
47+
null
48+
]
49+
],
50+
"type": "heatmap"
51+
}
52+
],
53+
"layout": {
54+
"title": {
55+
"text": "Heatmap text color should contrast with<br>background on cells with missing data"
56+
},
57+
"width": 400,
58+
"height": 400
59+
}
60+
}

0 commit comments

Comments
 (0)