is there any way to smooth 2D map? Here is what I have got and I would like to smooth it. Measurement step was to big which results with such "bad" spectrum...
Here is a part of my code:
X, Y = np.meshgrid(x,y)
fig, ax = plt.subplots()
plt.xlim(235,420)
plt.xticks(np.arange(235,415,30))
plt.yticks(np.arange(0,360,50))
cs = ax.pcolormesh(X,Y,A,cmap=cm.rainbow, vmin = 0)#Greys_r
plt.xlabel('wavelength [nm]')
plt.ylabel('temperature [K]')
plt.title(sample)
cbar = fig.colorbar(cs)
cbar.formatter.set_powerlimits((0, 0))
cbar.update_ticks()