Skip to content

Commit 3c11c1f

Browse files
committed
new mock capturing a top side bug
1 parent 9e87c24 commit 3c11c1f

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
24.8 KB
Loading

test/image/mocks/z_h-colorbar07.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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+
"xanchor": "right",
15+
"x": 0.5,
16+
"len": 0.5,
17+
"thickness": 10,
18+
"ticks": "outside",
19+
"dtick": 20,
20+
"ticklabelposition": "outside left",
21+
"ticklen": 8,
22+
"tickwidth": 1,
23+
"bgcolor": "rgba(255,255,0,0.5)",
24+
"borderwidth": 1,
25+
"bordercolor": "gray",
26+
"title": {
27+
"side": "top",
28+
"text": "Colorbar<br>title",
29+
"font": {
30+
"size": 16
31+
}
32+
}
33+
}
34+
}
35+
}
36+
],
37+
"layout": {
38+
"width": 600,
39+
"height": 400,
40+
"plot_bgcolor": "lightblue",
41+
"title": {
42+
"text": "Graph title",
43+
"font": {
44+
"size": 24
45+
}
46+
}
47+
}
48+
}

0 commit comments

Comments
 (0)