A heatmap in Matplotlib is a color-coded image of a two-dimensional array, and Axes.imshow is the quickest way to draw one. The official Matplotlib gallery describes it this way: data that depends on ...