Skip to content

Commit 42ffb8a

Browse files
committed
Fix for script
1 parent 427db2c commit 42ffb8a

File tree

1 file changed

+1
-1
lines changed
  • nipy/algorithms/clustering

1 file changed

+1
-1
lines changed

nipy/algorithms/clustering/gmm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ def show_components(self, x, gd, density=None, mpaxes=None):
827827
bins = max(10, int((x.max() - x.min()) / step))
828828
xmin = 1.1 * x.min() - 0.1 * x.max()
829829
xmax = 1.1 * x.max() - 0.1 * x.min()
830-
h, c = np.histogram(x, bins, [xmin, xmax], normed=True)
830+
h, c = np.histogram(x, bins, [xmin, xmax], density=True)
831831

832832
# Make code robust to new and old behavior of np.histogram
833833
c = c[:len(h)]

0 commit comments

Comments
 (0)