Skip to content

Commit 383b6f1

Browse files
committed
Add fill baseline
1 parent ffd19e7 commit 383b6f1

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed
70.5 KB
Loading

test/image/mocks/zzz_smith_fill.json

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"data": [
3+
{
4+
"re": [0, 0.3, 1, 2, 3, 5, 10],
5+
"im": [0, 0.3, 1, 2, 3, 5, 10],
6+
"mode": "lines+text",
7+
"name": "Curved",
8+
"line": {
9+
"color": "peru",
10+
"shape": "spline"
11+
},
12+
"fill": "toself",
13+
"text": "smith",
14+
"type": "scattersmith"
15+
},
16+
{
17+
"re": [0, 0.3, 1, 2, 3, 5, 10],
18+
"im": [0, 0.3, 1, 2, 3, 5, 10],
19+
"mode": "lines+text",
20+
"name": "Curved",
21+
"line": {
22+
"color": "peru",
23+
"shape": "spline"
24+
},
25+
"fill": "toself",
26+
"text": "smith",
27+
"type": "scattersmith",
28+
"subplot": "smith2"
29+
}
30+
],
31+
"layout": {
32+
"title": {"text": "Smith chart fill"},
33+
"font": {
34+
"family": "Arial, sans-serif",
35+
"size": 12,
36+
"color": "darkblue"
37+
},
38+
"width": 800,
39+
"height": 800,
40+
"margin": {"l": 40, "r": 40, "b": 30, "t": 60, "pad": 0},
41+
"smith": {
42+
"domain": {
43+
"x": [0, 0.46],
44+
"y": [0.56, 1]
45+
},
46+
"bgcolor": "lightblue",
47+
"realaxis": {
48+
"tickangle": 45
49+
},
50+
"imaginaryaxis": {
51+
"showgrid": true,
52+
"tickwidth": 2,
53+
"ticklen": 5
54+
}
55+
},
56+
"smith2": {
57+
"domain": {
58+
"x": [0.56, 1],
59+
"y": [0.56, 1]
60+
},
61+
"bgcolor": "lightblue",
62+
"realaxis": {
63+
"tickangle": 45
64+
},
65+
"imaginaryaxis": {
66+
"showgrid": true,
67+
"tickwidth": 2,
68+
"ticklen": 5
69+
}
70+
},
71+
"showlegend": false,
72+
"paper_bgcolor": "rgb(255, 255, 255)"
73+
}
74+
}

0 commit comments

Comments
 (0)