{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4136","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4136/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4136/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4136/events","html_url":"https://github.com/matplotlib/matplotlib/issues/4136","id":58414284,"number":4136,"title":"SVG backend ignores interpolation='nearest' option in imshow()","user":{"login":"tkanmae","id":305196,"avatar_url":"https://avatars.githubusercontent.com/u/305196?v=3","gravatar_id":"","url":"https://api.github.com/users/tkanmae","html_url":"https://github.com/tkanmae","followers_url":"https://api.github.com/users/tkanmae/followers","following_url":"https://api.github.com/users/tkanmae/following{/other_user}","gists_url":"https://api.github.com/users/tkanmae/gists{/gist_id}","starred_url":"https://api.github.com/users/tkanmae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkanmae/subscriptions","organizations_url":"https://api.github.com/users/tkanmae/orgs","repos_url":"https://api.github.com/users/tkanmae/repos","events_url":"https://api.github.com/users/tkanmae/events{/privacy}","received_events_url":"https://api.github.com/users/tkanmae/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-20T21:40:47Z","updated_at":"2015-02-20T23:14:17Z","closed_at":"2015-02-20T21:52:21Z","body":"I have raster images and plotted them using `imshow()` with `interpolation='nearest`. But the resultant images look smeared as if they were plotted with `interpolation='bilinear'`. Note that I set `svg.image_noscale` to `True`.  I briefly checked with the PDF and PNG backends, but these backends do not have this issue.\r\n\r\nI'm using the version 1.4.3 with Python 3.4.2 on Mac OS X."},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/75336992","html_url":"https://github.com/matplotlib/matplotlib/issues/4136#issuecomment-75336992","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4136","id":75336992,"user":{"login":"tkanmae","id":305196,"avatar_url":"https://avatars.githubusercontent.com/u/305196?v=3","gravatar_id":"","url":"https://api.github.com/users/tkanmae","html_url":"https://github.com/tkanmae","followers_url":"https://api.github.com/users/tkanmae/followers","following_url":"https://api.github.com/users/tkanmae/following{/other_user}","gists_url":"https://api.github.com/users/tkanmae/gists{/gist_id}","starred_url":"https://api.github.com/users/tkanmae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkanmae/subscriptions","organizations_url":"https://api.github.com/users/tkanmae/orgs","repos_url":"https://api.github.com/users/tkanmae/repos","events_url":"https://api.github.com/users/tkanmae/events{/privacy}","received_events_url":"https://api.github.com/users/tkanmae/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T23:14:17Z","updated_at":"2015-02-20T23:14:17Z","body":"If I understand your explanation correctly, I think the comment for `svg.image_noscale` would be more clear if it states \"request SVG viewers not to scale raster data embedded in a file\" rather than \"suppress scaling of raster data embedded in SVG\"."}}