Skip to content

Commit 00338c8

Browse files
committed
no double reverse
1 parent 3b9da1a commit 00338c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/plots/fruit-sales.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export async function fruitSales() {
55
const sales = await d3.csv<any>("data/fruit-sales.csv", d3.autoType);
66
return Plot.plot({
77
marginLeft: 50,
8-
y: {label: null, reverse: true},
9-
marks: [Plot.barX(sales, Plot.groupY({x: "sum"}, {x: "units", y: "fruit", sort: {y: "-x"}})), Plot.ruleX([0])]
8+
y: {label: null},
9+
marks: [Plot.barX(sales, Plot.groupY({x: "sum"}, {x: "units", y: "fruit", sort: {y: "x"}})), Plot.ruleX([0])]
1010
});
1111
}

0 commit comments

Comments
 (0)