ribs.visualize.qdax_repertoire_3d_plot¶
- ribs.visualize.qdax_repertoire_3d_plot(repertoire, ranges, *args, **kwargs)[source]¶
Plots a QDax MapElitesRepertoire with 3D measure space.
Internally, this function converts a
MapElitesRepertoire
into aCVTArchive
and plots it withcvt_archive_3d_plot()
.- Parameters
repertoire (qdax.core.containers.mapelites_repertoire.MapElitesRepertoire) – A MAP-Elites repertoire output by an algorithm in QDax.
ranges (array-like of (float, float)) – Upper and lower bound of each dimension of the measure space, e.g.
[(-1, 1), (-2, 2), (-3, 3)]
indicates the first dimension should have bounds \([-1,1]\) (inclusive), the second dimension should have bounds \([-2,2]\), and the third dimension should have bounds \([-3,3]\) (inclusive). This is needed since the MapElitesRepertoire does not store measure space bounds.*args – Positional arguments to pass to
cvt_archive_3d_plot()
.**kwargs – Keyword arguments to pass to
cvt_archive_3d_plot()
.