Skip to content

Commit 35a5c1a

Browse files
committed
#581 expanded test with reversescale and custom palette
1 parent 0be0c54 commit 35a5c1a

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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": -20,
12+
"cmax": 20,
13+
"reversescale": true
14+
}
15+
}],
16+
"layout": {
17+
"title": "Expanded (cmin/cmax way outside `color` bounds), reversed custom palette",
18+
"height":758,
19+
"width":1310
20+
}
21+
}

0 commit comments

Comments
 (0)