From db72dd0b2bd940930bd4848f612c3e92c6f55890 Mon Sep 17 00:00:00 2001 From: Stephane Rigaud Date: Mon, 21 Oct 2024 13:05:57 +0200 Subject: [PATCH] fix histogram operator --- pyclesperanto/_operators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyclesperanto/_operators.py b/pyclesperanto/_operators.py index dee3202d..cb1b9ee2 100644 --- a/pyclesperanto/_operators.py +++ b/pyclesperanto/_operators.py @@ -644,7 +644,7 @@ def __repr_html__(self): num_bins = 32 h = np.asarray( - histogram(self, nbins=num_bins, min=self.min(), max=self.max()) + histogram(self, num_bins=num_bins, minimum_intensity=self.min(), maximum_intensity=self.max()) ) plt.figure(figsize=(1.8, 1.2)) plt.bar(range(0, len(h)), h)