From 42d546e73be86c766d176eb74819a26da5a1d1ef Mon Sep 17 00:00:00 2001 From: Ilija Puaca Date: Wed, 23 Sep 2020 15:45:33 +0200 Subject: [PATCH] scaleQuantile performance fixup --- src/quantile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quantile.js b/src/quantile.js index 61c04c0..b4e708c 100644 --- a/src/quantile.js +++ b/src/quantile.js @@ -1,4 +1,4 @@ -import {ascending, bisect, quantile as threshold} from "d3-array"; +import {ascending, bisect, quantileSorted as threshold} from "d3-array"; import {initRange} from "./init.js"; export default function quantile() {