I have a dataset made of three columns x,y and z showing weight of each (x,y). all three are 1D array. x and y are float numbers not simple index.
plt.scatter(x,y,c =z, cmap='YlGnBu')
which is cool but I actually want to plot it with 'heatmap' or 'counterf' to look better.
something like:
I have read about similar questions on stackoverflow and matplotlib documentation but still didn't figure out how to do that. for counterf I can meshgrid x,y but I have no idea about what to do about z; beacuse there is no z for every possible combination of (x,y) which have to be calculated with some kind of preprocessing.
any idea how to do that?