Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Test nearest and none interpolation better #476
Changes the baseline file image_interps.pdf to match the current
Fixes the problem reported at http://thread.gmane.org/gmane.comp.python.matplotlib.devel/10543
Request: I would like someone who works with the svg backend to check if the added test makes sense for svg and if the output looks good. It did look odd to me in Inkscape, but that might be an old version or misconfiguration. The idea of the test is that interpolation="none" should produce pixels of the same size, but interpolation="nearest" produces different-sized pixels with a suitable dpi setting.