Skip to content

Commit 74e7f84

Browse files
committed
update airfoil mock to show contourcarpet colored legend styling
1 parent 73f279b commit 74e7f84

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

test/image/baselines/airfoil.png

106 KB
Loading

test/image/mocks/airfoil.json

+9-5
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"l":40,
3232
"t":80
3333
},
34-
"width":900
34+
"width":900,
35+
"paper_bgcolor": "#ccc"
3536
},
3637
"data":[
3738
{
@@ -221,12 +222,14 @@
221222
"contours":{
222223
"start":-1,
223224
"size":0.025,
224-
"end":1.000,
225-
"showlines":false
225+
"end":1.000
226226
},
227227
"line":{
228-
"smoothing":0
228+
"width": 1,
229+
"dash": "dot",
230+
"color": "rgba(0,0,0,0.2)"
229231
},
232+
"showlegend": true,
230233
"z":[
231234
[ 0.361, 0.300, 0.246, 0.209, 0.182, 0.162, 0.145, 0.132, 0.121, 0.111, 0.103, 0.096, 0.090, 0.085, 0.080, 0.075, 0.072, 0.068, 0.065, 0.062, 0.059, 0.057, 0.055, 0.053, 0.051, 0.049, 0.047, 0.046, 0.044, 0.043, 0.042 ],
232235
[ 0.261, 0.234, 0.199, 0.170, 0.147, 0.129, 0.115, 0.103, 0.093, 0.085, 0.078, 0.072, 0.066, 0.062, 0.058, 0.054, 0.051, 0.048, 0.045, 0.043, 0.041, 0.039, 0.037, 0.036, 0.034, 0.033, 0.031, 0.030, 0.029, 0.028, 0.027 ],
@@ -472,7 +475,8 @@
472475
"type":"contourcarpet",
473476
"line":{
474477
"color":"rgba(0, 0, 0, 0.5)",
475-
"smoothing":1
478+
"smoothing":1,
479+
"width": 1
476480
},
477481
"contours":{
478482
"size":0.250,

0 commit comments

Comments
 (0)