ribs.visualize

Visualization tools for pyribs.

These functions are similar to Matplotlib functions like scatter() and pcolormesh(). When called, these functions default to creating plots on the current axis. After plotting, functions like xlabel() and title() may be used to further modify the axis. Alternatively, if using Matplotlib’s object-oriented API, pass the ax parameter to these functions.

Note

This module only works with ribs[visualize] installed. As such, it is not imported with import ribs, and it must be explicitly imported with import ribs.visualize.

ribs.visualize.cvt_archive_3d_plot(archive)

Plots a CVTArchive with 3D measure space.

ribs.visualize.cvt_archive_heatmap(archive)

Plots heatmap of a CVTArchive with 1D or 2D measure space.

ribs.visualize.grid_archive_heatmap(archive)

Plots heatmap of a GridArchive with 1D or 2D measure space.

ribs.visualize.parallel_axes_plot(archive[, ...])

Visualizes archive elites in measure space with a parallel axes plot.

ribs.visualize.proximity_archive_plot(archive)

Plots scatterplot of a ProximityArchive with 2D measure space.

ribs.visualize.sliding_boundaries_archive_heatmap(archive)

Plots heatmap of a SlidingBoundariesArchive with 2D measure space.

ribs.visualize.qdax_repertoire_3d_plot(...)

Plots a QDax MapElitesRepertoire with 3D measure space.

ribs.visualize.qdax_repertoire_heatmap(...)

Plots a heatmap of a QDax MapElitesRepertoire.