Skip to content

Commit 00987c5

Browse files
committed
add new test
1 parent 5e13658 commit 00987c5

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed
26.3 KB
Loading

test/image/mocks/z_h-colorbar08.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"data": [
3+
{
4+
"x": [-1, 0, 1],
5+
"y": [0, 0, 0],
6+
"mode": "markers",
7+
"marker": {
8+
"size": 100,
9+
"color": [0, 50, 100],
10+
"colorscale": "Reds",
11+
"showscale": true,
12+
"colorbar": {
13+
"orientation": "h",
14+
"yanchor": "top",
15+
"y": 1.5,
16+
"xanchor": "right",
17+
"x": 1,
18+
"thickness": 10,
19+
"ticks": "outside",
20+
"bgcolor": "rgba(255,255,0,0.5)",
21+
"borderwidth": 4,
22+
"bordercolor": "gray",
23+
"title": {
24+
"side": "top",
25+
"text": "Colorbar<br>title",
26+
"font": {
27+
"size": 16
28+
}
29+
}
30+
}
31+
}
32+
}
33+
],
34+
"layout": {
35+
"width": 600,
36+
"height": 400,
37+
"plot_bgcolor": "lightblue",
38+
"title": {
39+
"text": "Graph title",
40+
"font": {
41+
"size": 24
42+
}
43+
},
44+
"xaxis": {
45+
"title": {
46+
"text": "X-axis title"
47+
}
48+
}
49+
}
50+
}

0 commit comments

Comments
 (0)