diff --git a/src/mdevaluate/distribution.py b/src/mdevaluate/distribution.py index 44ad500..847d005 100644 --- a/src/mdevaluate/distribution.py +++ b/src/mdevaluate/distribution.py @@ -306,7 +306,7 @@ def next_neighbor_distribution( )[1] resname_nn = reference.residue_names[nn] count_nn = (resname_nn == atoms.residue_names.reshape(-1, 1)).sum(axis=1) - return np.histogram(count_nn, bins=bins, normed=normed)[0] + return np.histogram(count_nn, bins=bins, density=normed)[0] def hbonds(