I am trying to interpolate some 2D data and imshow seems to offer a lot of algorithms that do the job just fine, as I can observe in the plotted pic. However I can't seem to find a way to extract the interpolated data.
img = plt.imshow(data, interpolation='bicubic', cmap = cmap)
Alternatively, any other way I can use the same variety of algorithms without passing through imshow? Scipy interp2d has less choice and poorer results.