Skip to content

Commit 448eb80

Browse files
committed
test scatter font weight
1 parent 3212866 commit 448eb80

File tree

2 files changed

+67
-0
lines changed

2 files changed

+67
-0
lines changed
53.2 KB
Loading
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"data": [
3+
{
4+
"hovertemplate": "Difficult -0.123456789 | %{text}",
5+
"texttemplate": "Difficult -0.123456789 | %{text}",
6+
"mode": "text",
7+
"text": [
8+
"1 Minimum",
9+
"100 Thin (Hairline)",
10+
"200 Extra Light (Ultra Light)",
11+
"300 Light",
12+
"400 Normal (Regular)",
13+
"500 Medium",
14+
"600 Semi Bold (Demi Bold)",
15+
"700 Bold",
16+
"800 Extra Bold (Ultra Bold)",
17+
"900 Black (Heavy)",
18+
"950 Extra Black (Ultra Black)",
19+
"1000 Maximum"
20+
],
21+
"textfont": {
22+
"family": "Inter",
23+
"size": 16,
24+
"weight": [
25+
1,
26+
100,
27+
200,
28+
300,
29+
400,
30+
500,
31+
600,
32+
700,
33+
800,
34+
900,
35+
950,
36+
1000
37+
]
38+
},
39+
"x": [0, 0, 0, 0, 0, 0,0, 0, 0, 0, 0, 0],
40+
"y": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
41+
}
42+
],
43+
"layout": {
44+
"showlegend": false,
45+
"margin": {
46+
"l": 0,
47+
"r": 0,
48+
"t": 0,
49+
"b": 0
50+
},
51+
"xaxis": {
52+
"range": [-1, 1],
53+
"showticklabels": false,
54+
"showgrid": false,
55+
"zeroline": false
56+
},
57+
"yaxis": {
58+
"range": [11.5, -0.5],
59+
"showticklabels": false,
60+
"showgrid": false,
61+
"zeroline": false
62+
},
63+
"width": 400,
64+
"height": 600,
65+
"hovermode": "closest"
66+
}
67+
}

0 commit comments

Comments
 (0)