Skip to content

Commit 7775730

Browse files
committed
Remove alpha=2, out of range for current mpl
1 parent ee92cf2 commit 7775730

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

nipy/algorithms/clustering/gmm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ def plot2D(x, my_gmm, z=None, with_dots=True, log_scale=False, mpaxes=None,
207207
Pdens = np.reshape(L, (gdx, -1))
208208
extent = [xm, xs, ym, ys]
209209
if log_scale:
210-
plt.imshow(np.log(Pdens.T), alpha=2.0, origin='lower',
210+
plt.imshow(np.log(Pdens.T), origin='lower',
211211
extent=extent)
212212
else:
213-
plt.imshow(Pdens.T, alpha=2.0, origin='lower', extent=extent)
213+
plt.imshow(Pdens.T, origin='lower', extent=extent)
214214

215215
if with_dots:
216216
if z is None:

0 commit comments

Comments
 (0)