Skip to content

Commit

Permalink
fix histogram operator
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud authored Oct 21, 2024
1 parent 9fd6f78 commit db72dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyclesperanto/_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit db72dd0

Please sign in to comment.