データポイントをmatplotlibで密度分布としてプロットする

np.histogram2dを使っていもいいし、plt.hist2dというのもある。
http://stackoverflow.com/questions/2369492/generate-a-heatmap-in-matplotlib-using-a-scatter-data-set