We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3310fbe + 36084c5 commit e67f30cCopy full SHA for e67f30c
ovrlpy/_ssam2/_utils.py
@@ -47,7 +47,7 @@ def _kde_nd(
47
dim_bins = list()
48
for i in range(coordinates.shape[1]):
49
c_min = int(np.min(coordinates[:, i]))
50
- c_max = int(np.ceil(np.max(coordinates[:, i])))
+ c_max = int(np.floor(np.max(coordinates[:, i])+1))
51
dim_bins.append(np.linspace(c_min, c_max, c_max - c_min + 1))
52
53
histogram, bins = np.histogramdd(
0 commit comments