icaros-usc / pyribs

A bare-bones Python library for quality diversity optimization.
https://pyribs.org
MIT License
205 stars 31 forks source link

Allow using kwargs for colorbar in parallel_axes_plot #358

Closed btjanaka closed 10 months ago

btjanaka commented 10 months ago

Description

This PR makes the colorbar usage more consistent with the other visualization methods. We now have a cbar arg which determines whether the colorbar is plotted. We also have a cbar_kwargs arg which allows configuration of the colorbar. The cbar_kwargs has sensible defaults for orientation and pad that align with the previous default values for cbar_orientation and cbar_pad.

Note that this is a breaking change because it removes cbar_orientation and cbar_pad.

TODO

Questions

Status