I have been trying to do a heatmap in matplotlib from data that looks like:
x y z
where x and y are the coordinates of cells and z is the density/intensity.