matplotlib/matplotlib — pull request #2939 by cimarronm (2014-03-29 06:37:25+00:00)
Title: Fixes a bug in drawing bitmap images in the macosx backend for handling device scaling

Current implementation does not take into account any transforms being applied to user space and will result in wrong sizes for the CGRect being passed to CGContextDrawImage. This fixes that bug while maintaining the device scaling support used for hi-resolution (retina) displays.