I was trying to plot some data with scatter. My code is
import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np from scipy.interpolate import
Consider to use pcolormesh or contourf if you want to plot data of the form f(X, Y) = Z. imshow simply plots data Z, scaling and resampling has do be done manually.
f(X, Y) = Z
imshow
Z