Plot rectangular data as a color-encoded matrix. This is an axes-level function and will draw the heatmap into the currently-active axes if none is provided to the ax argument. Over 11 examples of heatmaps including changing color, size, log axes, and more in python.