Gridded data

A value defined over a 2-D grid rather than at a set of points: images, meshes (regular, curvilinear and Gouraud-shaded), contours, vector fields, and the matrix-specific matshow/spy views, plus the logarithmic colour norm that dense grids often need.

Image (imshow)

Image (imshow)

Pcolormesh

Pcolormesh

Contour lines

Contour lines

Quiver

Quiver

Filled contours (contourf)

Filled contours (contourf)

Curvilinear pcolormesh

Curvilinear pcolormesh

Gouraud shading

Gouraud shading

Log-scaled colors (LogNorm)

Log-scaled colors (LogNorm)

Matshow

Matshow

Spy

Spy

Colormap reference

Colormap reference

Small mesh: real data in the Vega/Vega-Lite export

Small mesh: real data in the Vega/Vega-Lite export

Discrete bins, a centered diverging scale, and custom colormaps

Discrete bins, a centered diverging scale, and custom colormaps

Slice: read a row of a heatmap as a line

Slice: read a row of a heatmap as a line

Slice: columns, and the profile in the heatmap’s place

Slice: columns, and the profile in the heatmap's place

Slice: several meshes scrubbed together

Slice: several meshes scrubbed together

Slice: only the axes you choose

Slice: only the axes you choose