Skip to content

Commit ba410a8

Browse files
committed
Add new image test
1 parent b1f3866 commit ba410a8

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"data": [
3+
{
4+
"colorbar": {
5+
"orientation": "v",
6+
"xref": "container",
7+
"x": 1,
8+
"thickness": 10,
9+
"ticks": "outside",
10+
"bgcolor": "rgba(255,255,0,0.5)",
11+
"borderwidth": 4,
12+
"bordercolor": "gray",
13+
"title": {
14+
"side": "top",
15+
"text": "Colorbar<br>title",
16+
"font": {
17+
"size": 16
18+
}
19+
}
20+
},
21+
"z": [
22+
[
23+
1,
24+
3,
25+
5
26+
],
27+
[
28+
4,
29+
7,
30+
10
31+
],
32+
[
33+
7,
34+
11,
35+
14
36+
]
37+
],
38+
"type": "heatmap"
39+
}
40+
],
41+
"layout": {
42+
"margin": {"l": 0, "r": 148, "t": 0, "b": 0},
43+
"height": 300,
44+
"width": 400,
45+
"yaxis": {"automargin": true, "side": "right", "title": {"text": "Y-axis title"}},
46+
"title": {"text": "Colorbar with `xref='container'` | vertical | margin", "automargin": true}
47+
}
48+
}

0 commit comments

Comments
 (0)