From: Eric Firing <efiring@ha...> - 2006-02-25 07:09:52
David Chin wrote:
> Is it possible to layer a translucent contourf over an image?
> I tried the obvious, but it didn't seem to work:
> im = imshow(Z, interpolation='nearest', extent=extent, cmap=cm.bone)
> v = axis()
> cset = contourf(Z2, levels, hold='on', cmap=cm.jet, extent=extent, alpha=0.6)
You are right, that should work, but it doesn't--support for the alpha
kwarg just isn't there. I'll fix it. Thanks for pointing it out.