Fixed axis flip in extent when passing to imshow

See example: http://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram2d.html