matplotlib/matplotlib — pull request #868 by mdboom (2012-05-14 18:00:12+00:00)
Title: Fix alpha blending when using nearest neighbor interpolation

There was a bug in a recent change to expect and use premultiplied alpha images that caused nearest neighbor interpolation to break. This fixes that. It is required by #582 to show correct non-scaled images.