Skip to content

Commit 353efc4

Browse files
committed
numeric text weight in gl3d
1 parent d8424a3 commit 353efc4

File tree

2 files changed

+99
-0
lines changed

2 files changed

+99
-0
lines changed
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
{
2+
"data": [
3+
{
4+
"type": "scatter3d",
5+
"hovertemplate": "Difficult -0.123456789 | %{text}",
6+
"texttemplate": "Difficult -0.123456789 | %{text}",
7+
"mode": "text",
8+
"text": [
9+
"1 Minimum",
10+
"100 Thin (Hairline)",
11+
"200 Extra Light (Ultra Light)",
12+
"300 Light",
13+
"400 Normal (Regular)",
14+
"500 Medium",
15+
"600 Semi Bold (Demi Bold)",
16+
"700 Bold",
17+
"800 Extra Bold (Ultra Bold)",
18+
"900 Black (Heavy)",
19+
"950 Extra Black (Ultra Black)",
20+
"1000 Maximum"
21+
],
22+
"textfont": {
23+
"family": "Inter",
24+
"size": 16,
25+
"weight": [
26+
1,
27+
100,
28+
200,
29+
300,
30+
400,
31+
500,
32+
600,
33+
700,
34+
800,
35+
900,
36+
950,
37+
1000
38+
]
39+
},
40+
"z": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
41+
"x": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
42+
"y": [-5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5]
43+
}
44+
],
45+
"layout": {
46+
"showlegend": false,
47+
"margin": {
48+
"l": 0,
49+
"r": 0,
50+
"t": 0,
51+
"b": 0
52+
},
53+
"scene": {
54+
"xaxis": {
55+
"showticklabels": false,
56+
"showgrid": false,
57+
"zeroline": false
58+
},
59+
"yaxis": {
60+
"showticklabels": false,
61+
"showgrid": false,
62+
"zeroline": false
63+
},
64+
"zaxis": {
65+
"showticklabels": false,
66+
"showgrid": false,
67+
"zeroline": false
68+
},
69+
"aspectratio": {
70+
"x": 1.5,
71+
"y": 1.5,
72+
"z": 1.5
73+
},
74+
"camera": {
75+
"projection": {
76+
"type": "orthographic"
77+
},
78+
"eye": {
79+
"x": 0,
80+
"y": 0,
81+
"z": 10
82+
},
83+
"center": {
84+
"x": 0,
85+
"y": 0,
86+
"z": 0
87+
},
88+
"up": {
89+
"x": 0,
90+
"y": 1,
91+
"z": 0
92+
}
93+
}
94+
},
95+
"width": 400,
96+
"height": 400,
97+
"hovermode": "closest"
98+
}
99+
}

0 commit comments

Comments
 (0)