From d1ac8cfa41cdd1483eddeaca773adcd7125e95b2 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Fri, 4 Jun 2021 00:04:28 +0200 Subject: [PATCH] forward bins kwarg correctly --- kabuki/plots/plot0d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabuki/plots/plot0d.py b/kabuki/plots/plot0d.py index 923e729..9b923cd 100644 --- a/kabuki/plots/plot0d.py +++ b/kabuki/plots/plot0d.py @@ -74,7 +74,7 @@ class Histo: def hist(values, bins="auto"): - counts, edges = np.histogram(values, bins="auto") + counts, edges = np.histogram(values, bins=bins) left = edges[:-1] right = edges[1:] return dict(left=left, right=right, top=counts)