ribs.visualize

Miscellaneous visualization tools.

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 maplotlib’s object-oriented API, pass the ax parameter to these functions.

Note

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

ribs.visualize.grid_archive_heatmap(archive)

Plots heatmap of a GridArchive with 2D behavior space.

ribs.visualize.cvt_archive_heatmap(archive)

Plots heatmap of a CVTArchive with 2D behavior space.

ribs.visualize.sliding_boundaries_archive_heatmap(archive)

Plots heatmap of a SlidingBoundariesArchive with 2D behavior space.