From 2f789e983a4387cd3757bda1e6d6f946b8c72212 Mon Sep 17 00:00:00 2001 From: Sam Nolan Date: Sat, 16 Jul 2022 13:29:18 +1000 Subject: [PATCH] Fix #837 --- packages/components/src/lib/distributionSpecBuilder.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/src/lib/distributionSpecBuilder.ts b/packages/components/src/lib/distributionSpecBuilder.ts index 4286dbdb..7a5bcd2f 100644 --- a/packages/components/src/lib/distributionSpecBuilder.ts +++ b/packages/components/src/lib/distributionSpecBuilder.ts @@ -42,7 +42,7 @@ export let linearYScale: LinearScale = { name: "yscale", type: "linear", range: "height", - zero: false, + zero: true, domain: { fields: [ { @@ -84,7 +84,7 @@ export let expYScale: PowScale = { type: "pow", exponent: 0.1, range: "height", - zero: false, + zero: true, nice: false, domain: { fields: [