Skip to content

Commit fd043df

Browse files
committed
test horizontal colorbars
1 parent ff17d3d commit fd043df

17 files changed

+984
-0
lines changed

tasks/test_mock.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ function notBlackListed(name) {
114114
'cheater_contour',
115115
'cheater_fully_filled',
116116
'cheater_smooth',
117+
'z_h-colorbar_airfoil',
117118

118119
// other
119120
'1',
26.3 KB
Loading
29.1 KB
Loading
26 KB
Loading
25.3 KB
Loading
26.1 KB
Loading
299 KB
Loading
74.3 KB
Loading
22.3 KB
Loading

test/image/mocks/z_h-colorbar01.json

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

0 commit comments

Comments
 (0)