Thanks to a patch a bit while back for ListedColormap that allowed for alphas to be given, I should now be able to use imshow() and imsave() with colormaps.  However, I find that the results are not correct. Particularly, the alpha values seem to be assigned incorrectly.  I am still working on making a stand-alone version to demonstrate the problem, but has anyone else noticed this?


plt.imshow(d, cmap=cm)

produces an incorrect result while


produces a correct result.  However, due to a bug in imsave, I can't do the latter as a work-around.

Ben Root