Skip to content

Commit e485e86

Browse files
committed
improve smith chart tests - colorscale and dash
1 parent 76c4871 commit e485e86

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed
4.97 KB
Loading

test/image/mocks/smith_subplots.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,18 @@
2727
"imag": [0, 0, 1, 1],
2828
"text": ["A1", "B1", "C1"],
2929
"hovertext": ["hover A1", "hover B1", "hover C1"],
30-
"line": {"shape": "spline"},
30+
"line": {
31+
"shape": "spline",
32+
"dash": "dash",
33+
"width": 4
34+
},
3135
"marker": {
3236
"symbol": "square",
3337
"size": 15,
34-
"color": [-1, 1, 2],
38+
"color": [0, 2, 1, 3],
39+
"opacity": 0.75,
40+
"colorscale": "Portland",
41+
"reversescale": true,
3542
"showscale": true
3643
},
3744
"textfont": {
@@ -41,7 +48,6 @@
4148
"textposition": ["top left", "bottom right", "bottom right"],
4249
"subplot": "smith2"
4350
}],
44-
4551
"layout": {
4652
"width": 800,
4753
"height": 400,

0 commit comments

Comments
 (0)