Skip to content

Commit 9a7c03b

Browse files
committed
test null
1 parent 81c3729 commit 9a7c03b

File tree

2 files changed

+91
-37
lines changed

2 files changed

+91
-37
lines changed
Lines changed: 85 additions & 33 deletions
Loading

test/plots/variable-strokedasharray.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@ const data = Array.from(["none", "10 5", [20, 3], [30, 5, 10, 10], null],
88

99
export default async function() {
1010
return Plot.plot({
11+
height: 640,
12+
x: {inset: 10},
13+
y: {inset: 10},
14+
axis: null,
1115
facet: {data, x: "strokeDasharray", y: "strokeDashoffset"},
1216
marks: [
17+
Plot.frame(),
1318
Plot.arrow(data, {
1419
x1: 0,
1520
x2: 1,
@@ -20,9 +25,6 @@ export default async function() {
2025
bend: true,
2126
headLength: 0
2227
})
23-
],
24-
fx: {padding: 0.2},
25-
fy: {padding: 0.2},
26-
axis: null
28+
]
2729
});
2830
}

0 commit comments

Comments
 (0)