CommonRoad / commonroad-io

Tool to read, write, and visualize CommonRoad scenarios and base for other tools from the CommonRoad Framework.
https://commonroad.in.tum.de/tools/commonroad-io
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

ImportError with matplotlib 3.9 #4

Closed Deepthought73 closed 4 months ago

Deepthought73 commented 6 months ago

I updated matplotlib from 3.8 to 3.9 and got this ImportError in the file commonroad/visualization/traffic_sign.py:

In commonroad/visualization/traffic_sign.py, line 8, in from matplotlib.axes import Axes, mtext ImportError: cannot import name 'mtext' from 'matplotlib.axes'

It's still working with matplotlib 3.8.4

smaierhofer commented 6 months ago

Thank your for the information. We will solve this in the next cr-io release (end of June). As you suggested, please use a matplotlib version <3.9 in the meantime.

smaierhofer commented 4 months ago

solved in the develop branch