ax = fig.add_axes([margin, margin, 1 - 2 * margin, 1 - 2 * margin])
ax.imshow(np.random.random((xpixels, ypixels)), interpolation='none')
Display image with a zoom = 1 with Matplotlib imshow() (how to?)