Skip to content

Commit 8266a6d

Browse files
committed
test numeric font-weight values in scattergl pipeline
1 parent abb3fc8 commit 8266a6d

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed
42.1 KB
Loading
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"data": [
3+
{
4+
"type": "scattergl",
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+
"x": [0, 0, 0, 0, 0, 0,0, 0, 0, 0, 0, 0],
41+
"y": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
42+
}
43+
],
44+
"layout": {
45+
"showlegend": false,
46+
"margin": {
47+
"l": 0,
48+
"r": 0,
49+
"t": 0,
50+
"b": 0
51+
},
52+
"xaxis": {
53+
"range": [-1, 1],
54+
"showticklabels": false,
55+
"showgrid": false,
56+
"zeroline": false
57+
},
58+
"yaxis": {
59+
"range": [11.5, -0.5],
60+
"showticklabels": false,
61+
"showgrid": false,
62+
"zeroline": false
63+
},
64+
"width": 400,
65+
"height": 600,
66+
"hovermode": "closest"
67+
}
68+
}

0 commit comments

Comments
 (0)