Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce6c8d1

Browse files
committed
Add test for colorscale constraints
1 parent e28c938 commit ce6c8d1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"data": [{
3+
"x": [1,2,3,4,5],
4+
"y": [1,2,3,4],
5+
"marker": {
6+
"color": [1,2,3,4],
7+
"cmin": 2,
8+
"cmax": 3,
9+
"showscale": true
10+
}
11+
}, {
12+
"x": [1,2,3,4,5],
13+
"y": [4,3,2,1],
14+
"marker": {
15+
"color": [1,2,3,4],
16+
"cmin": 1,
17+
"cmax": 4,
18+
"showscale": false
19+
}
20+
}],
21+
"layout": {
22+
"showlegend": false
23+
}
24+
}

0 commit comments

Comments
 (0)