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)