Skip to content

Commit a091f70

Browse files
authored
test tip for primitive data (#1646)
1 parent 9339c24 commit a091f70

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

test/output/tipDotX.svg

+53
Loading

test/plots/tip.ts

+4
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ export async function tipDot() {
5555
return Plot.dot(penguins, {x: "culmen_length_mm", y: "culmen_depth_mm", stroke: "sex", tip: true}).plot();
5656
}
5757

58+
export async function tipDotX() {
59+
return Plot.dotX(d3.range(10), {tip: true}).plot();
60+
}
61+
5862
export async function tipDotFacets() {
5963
const athletes = await d3.csv<any>("data/athletes.csv", d3.autoType);
6064
return Plot.plot({

0 commit comments

Comments
 (0)