CMA-ES / pycma

Python implementation of CMA-ES
Other
1.1k stars 178 forks source link

Fix `pyplot.cm.get_cmap(...)` for `matplotlib >= 3.9` #257

Closed GuillermoAbadLopez closed 2 months ago

GuillermoAbadLopez commented 2 months ago

For fixing Issue: https://github.com/CMA-ES/pycma/issues/256

Searched the full repo with VSCode, and didn't find any other .get_cmap( call

nikohansen commented 2 months ago

Thanks for the find! Does the change break compatibility with older matlab versions? EDIT: sorry, I didn't had a look at the issue.

GuillermoAbadLopez commented 2 months ago

No problem! Didn't know where to put the detailed info, sometimes people want it in the issue sometimes in the PR..

Nice, that you saw it in the end, and thanks for maintaining this, pretty cool & useful repo!