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?

Note,

plt.imshow(d, cmap=cm)

produces an incorrect result while

plt.imshow(cm(d))

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

Thanks,
Ben Root
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to