Skip to content

Heatmap

Heatmap is a graphical representation of data where the individual values contained in a matrix are represented as colors. It is a very useful tool in data visualization for understanding the data distribution and patterns.

In this tutorial, we will learn how to create a heatmap using the matplotlib library in Python.

API Reference

plot.heatmap()

python
plot.heatmap(data, row_labels, col_labels, ax=None, cbar_kw={}, cbarlabel="", **kwargs)