AI engineering glossary · NumPy pandas visualization

What is colormap?

Colormap (also called colour map, cmap): A mapping from numeric values to colours, used by heatmaps, scatter plots and maps. Sequential ones run from light to dark for ordered magnitudes, diverging ones have a neutral midpoint for values above and below a centre, and categorical ones give distinct colours to groups. A poor choice can mislead.

Level: intermediateTopic: NumPy pandas visualization

Colormap: an example

Using a diverging colormap centred on zero for a correlation heatmap shows positive and negative values in different hues.

Related terms

More NumPy pandas visualization terms

Where you learn it

Colormap is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.