Examples

See the examples/ folder for source code.

Image Example

Calendar heatmap

Calendar heatmap of daily maximum temperatures in Oxford, 2025.

Source

Colormaps

Gallery of all available continuous and discrete colormaps.

Source

Dashboard

Live system monitoring dashboard showing CPU and memory usage.

Source

Demo

General demonstration combining images, borders, and scatter plots.

Source

Functions

Mathematical function visualisation with scatter and function2.

Source

Hilbert curve

Hilbert curve visualisation of binomial data.

Source

Image rendering

Image rendering with various colormaps.

Source

Joint distribution

Joint distribution with marginal histograms, demonstrating plot composition with hstack and vstack.

Source

Lissajous curves

Brownian motion PCA visualisation with scatterplots and plot arrangement.

Source

Mandelbrot

Animated Mandelbrot fractal zoom using function heatmaps and colormaps.

Source

Quickstart 1

Coloured cosine waves with phase offsets.

Source

Quickstart 2

Animated cosine wave with shifting phase and amplitude.

Source

Scatter

Spiral scatter plot with viridis colormap.

Source

Teacher-student regression

Gradient descent on a simple teacher-student linear regression model.

Source

Teapot

3D scatter plot with animated camera orbit.

Source

Time series histogram

Time series visualisation with stacked scatter, pooled scatter, and 2D histogram.

Source

Voronoi diagram

Voronoi diagram using function heatmaps and scipy.

Source