Skip to content

Commit e645b1c

Browse files
author
Miklós Tusz
committed
Add colorscale opacity baseline
1 parent 0e41ea1 commit e645b1c

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed
22.9 KB
Loading
+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"data": [
3+
{
4+
"y": [
5+
5,
6+
5,
7+
5,
8+
5
9+
],
10+
"mode": "markers",
11+
"marker": {
12+
"size": 40,
13+
"colorscale": [
14+
[
15+
0,
16+
"rgb(255,0.0,0.0)"
17+
],
18+
[
19+
1,
20+
"rgba(0.0,0.0,255,0.5)"
21+
]
22+
],
23+
"color": [
24+
0,
25+
1,
26+
2,
27+
3
28+
],
29+
"cmin": 0,
30+
"cmax": 3
31+
},
32+
"uid": "07bab4"
33+
}
34+
],
35+
"layout": {
36+
"title": "Scatter Plot with a Color Dimension",
37+
"xaxis": {
38+
"range": [
39+
-0.271356783919598,
40+
3.271356783919598
41+
],
42+
"autorange": true
43+
},
44+
"yaxis": {
45+
"type": "linear",
46+
"range": [
47+
4,
48+
6
49+
],
50+
"autorange": true
51+
},
52+
"height": 450,
53+
"width": 1100,
54+
"autosize": true
55+
}
56+
}

0 commit comments

Comments
 (0)