Skip to content

Commit 4760696

Browse files
committed
#581 tests for constrained palettes
1 parent 80e70fe commit 4760696

4 files changed

+39
-0
lines changed
Loading
Loading
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"data": [{
3+
"x":[-4,-3,-2,-1,0,1,2,3,4,5,6],
4+
"y":[7,5,6,4,2,3,1,3,-1,-4,-2],
5+
"z":[2,3,4,5,4,3,2,1,0,-1,-2],
6+
"mode": "markers",
7+
"type":"scatter3d",
8+
"marker": {
9+
"color": [-2,-1,0,1,2,3,4,5,6,7,8],
10+
"colorscale": "Viridis",
11+
"cmin": 2,
12+
"cmax": 4
13+
}
14+
}],
15+
"layout": {
16+
"title": "Marker colors specified via color array; constrained custom palette",
17+
"height":758,
18+
"width":1310
19+
}
20+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"data": [{
3+
"x":[-4,-3,-2,-1,0,1,2,3,4,5,6],
4+
"y":[7,5,6,4,2,3,1,3,-1,-4,-2],
5+
"z":[2,3,4,5,4,3,2,1,0,-1,-2],
6+
"mode": "markers",
7+
"type":"scatter3d",
8+
"marker": {
9+
"color": [-2,-1,0,1,2,3,4,5,6,7,8],
10+
"cmin": 2,
11+
"cmax": 4
12+
}
13+
}],
14+
"layout": {
15+
"title": "Marker colors specified via color array; constrained default palette",
16+
"height":758,
17+
"width":1310
18+
}
19+
}

0 commit comments

Comments
 (0)