Skip to content

Commit a2e6a17

Browse files
committed
dataset on a single frame mark
1 parent c9a8b75 commit a2e6a17

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

test/output/datasetFrame.svg

Lines changed: 17 additions & 0 deletions
Loading

test/plots/dataset.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,9 @@ export async function datasetBars() {
3636
]
3737
});
3838
}
39+
40+
export async function datasetFrame() {
41+
return Plot.frame({
42+
dataset: (_, i) => ({hello: "world", epoch: new Date(0), i})
43+
}).plot();
44+
}

0 commit comments

Comments
 (0)