matplotlib/matplotlib — pull request #1224 by WeatherGod (2012-09-09 20:39:13+00:00)
Title: Imsave alpha

Allow imsave to accept MxNx3 and MxNx4 arrays as input, just like imshow(). Note that imsave technically always was capable of doing so, but a slight in the input processing prevented it from working. Also added a test to see if exceptions occur.

Thanks to Jostein Bo Floystad for the bug report and the original patch!