Skip to content

Commit 9542351

Browse files
committed
add mocks showing contour(carpet) constraint rounded-off edgepath bug
... with incorrect baselines. Note that carpet_rounded_off-edgepath-gt renders correctly, but is important to lock down the correct fix.
1 parent 3a04fd3 commit 9542351

8 files changed

+794
-0
lines changed
Loading
Loading
Loading
Loading

test/image/mocks/carpet_rounded-off-edgepath-gt.json

Lines changed: 241 additions & 0 deletions
Large diffs are not rendered by default.

test/image/mocks/carpet_rounded-off-edgepath-lt.json

Lines changed: 241 additions & 0 deletions
Large diffs are not rendered by default.

test/image/mocks/carpet_rounded-off-edgepath.json

Lines changed: 241 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"data": [
3+
{
4+
"connectgaps": true,
5+
"x": [0, 5],
6+
"y": [0, 4],
7+
"z": [[4, 3], [2, 1]],
8+
"type": "contour",
9+
"contours": {
10+
"type": "constraint",
11+
"operation": "<",
12+
"value": 0.99
13+
}
14+
},
15+
{
16+
"mode": "text",
17+
"x": [0, 0, 5, 5],
18+
"y": [0, 4, 0, 4],
19+
"text": [4, 3, 2, 1]
20+
},
21+
{
22+
"connectgaps": true,
23+
"x": [0, 5],
24+
"y": [0, 4],
25+
"z": [[4, 3], [2, 1]],
26+
"type": "contour",
27+
"contours": {
28+
"type": "constraint",
29+
"operation": "<",
30+
"value": 1
31+
},
32+
"xaxis": "x2"
33+
},
34+
{
35+
"mode": "text",
36+
"x": [0, 0, 5, 5],
37+
"y": [0, 4, 0, 4],
38+
"text": [4, 3, 2, 1],
39+
"xaxis": "x2"
40+
},
41+
{
42+
"connectgaps": true,
43+
"x": [0, 5],
44+
"y": [0, 4],
45+
"z": [[4, 3], [2, 1]],
46+
"type": "contour",
47+
"contours": {
48+
"type": "constraint",
49+
"operation": "<",
50+
"value": 1.01
51+
},
52+
"xaxis": "x3"
53+
},
54+
{
55+
"mode": "text",
56+
"x": [0, 0, 5, 5],
57+
"y": [0, 4, 0, 4],
58+
"text": [4, 3, 2, 1],
59+
"xaxis": "x3"
60+
}
61+
],
62+
"layout": {
63+
"grid": {"rows": 1, "columns": 3},
64+
"width": 600,
65+
"height": 400,
66+
"showlegend": false,
67+
"xaxis": {"side": "top", "title": {"text": "<0.99<br>no edge path"}},
68+
"xaxis2": {"matches": "x", "side": "top", "title": {"text": "<1<br>rounded off edge path"}},
69+
"xaxis3": {"matches": "x", "side": "top", "title": {"text": "<1.01<br>one edge path"}}
70+
}
71+
}

0 commit comments

Comments
 (0)