I am plotting a heatmap in matplotlib using:
plt.pcolor(rand(5,5))
how can I annotate the heatmap with the actual numbers plotted? meaning in each cell of the plotted heatmap, put the value corresponding to that cell in the 5x5 matrix passed to pcolor
. thanks.