Skip to content

Commit 76c4871

Browse files
committed
improve smith chart tests - use gradient options
1 parent 3c5df3e commit 76c4871

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
4.24 KB
Loading

test/image/mocks/smith_subplots.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@
77
"text": ["A0", "B0", "C0"],
88
"hovertext": ["hover A0", "hover B0", "hover C0"],
99
"line": {"shape": "spline"},
10-
"marker": {"symbol": "square", "size": 15},
10+
"marker": {
11+
"symbol": ["circle", "square", "x", "diamond"],
12+
"gradient": {
13+
"type": ["radial", "horizontal", "radial", "vertical"],
14+
"color": ["white", "yellow", "orange", "red"]
15+
},
16+
"size": 30
17+
},
1118
"textfont": {
1219
"color": ["red", "green", "blue"],
1320
"size": 20
@@ -31,7 +38,7 @@
3138
"color": "green",
3239
"size": [20, 15, 10]
3340
},
34-
"textposition": "top left",
41+
"textposition": ["top left", "bottom right", "bottom right"],
3542
"subplot": "smith2"
3643
}],
3744

0 commit comments

Comments
 (0)