You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the computed range for the binning divided by the number of bins is lower than the minimum float difference at the scale, we receive an error [ValueError: Bins not in rising order.] which is not very informative.
To reproduce:
data = [1, np.nextafter(1, 2)]
physt.h1(data)
It also happens when the range is 0, like in:
data = [1, 1]
physt.h1(data)
The text was updated successfully, but these errors were encountered:
If the computed range for the binning divided by the number of bins is lower than the minimum float difference at the scale, we receive an error
[ValueError: Bins not in rising order.]
which is not very informative.To reproduce:
It also happens when the range is 0, like in:
The text was updated successfully, but these errors were encountered: