I got a 2d array of data which i would like to plot as a heatmap using pylab. I only found solutions to use normal points to build a heatmap but not a way to map f(x,y) = heat onto a heatmap.
PS: ipython is awesome to do such stuff in combination with pylab 🙂
Turns out its fairly easy: