Skip to content

Commit a6f929f

Browse files
committed
change plt.hist() argument from 'normed' to 'density'
1 parent 3dc858e commit a6f929f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/algorithms/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _eucl_mean(self, nii1, nii2, weighted=False):
150150
import matplotlib.pyplot as plt
151151

152152
plt.figure()
153-
plt.hist(min_dist_matrix, 50, normed=1, facecolor="green")
153+
plt.hist(min_dist_matrix, 50, density=True, facecolor="green")
154154
plt.savefig(self._hist_filename)
155155
plt.clf()
156156
plt.close()

0 commit comments

Comments
 (0)