MichaelGrupp / evo

Python package for the evaluation of odometry and SLAM
https://michaelgrupp.github.io/evo/
GNU General Public License v3.0
3.33k stars 745 forks source link

plot error with matplotlib 3.8.1 #602

Closed sacrover closed 7 months ago

sacrover commented 7 months ago

Referring to this matplotlib 3.8 issue, the color cycle iterator, 'prop_cycler' was removed. This breaks the --plot option.

Matplotlib 3.7 works well. You can change this in setup.py or downgrade to matplotlib version 3.7 after installing evo.

MichaelGrupp commented 7 months ago

Thanks for the report. Replacing it with a call to the seaborn API seems to be enough:

color_palette = itertools.cycle(sns.color_palette())
next(color_palette)

I'm fixing some other things that showed up after the matplotlib upgrade and will include this in there.

MichaelGrupp commented 7 months ago

Fixed in v1.25.2