I'm trying to get something like this:
with this code
x = np.arange(l, r, s)
y = np.arange(b, t, s)
X, Y = np.meshgrid(x, y)
Z = f(X,Y)
plt.axis('equal')
plt.pcolormesh(X, Y, Z)
plt.savefig("image.png",dpi=300)
But I get this:
How could I remove the white regions? I really appreciate any kind of help.