plt.imshow(v, cmap=plt.cm.Blues, alpha=0.5, extent=[x.min(), x.max(), y.min(), y.max()]) plt.scatter(xx, yy, c=v, cmap=plt.cm.jet, edgecolor='k', linewidth=0.5) plt.colorbar()