tohojo / flent

The FLExible Network Tester.
https://flent.org
Other
428 stars 79 forks source link

Fixed log-scale matplotlib compatibility for v3.3 #287

Closed freysteinn closed 3 months ago

freysteinn commented 1 year ago

The matplotlib package removed all axis directions from the base parameters for logarithmic scaling functions in v3.3.0 and up.

This commit supports both the original "basex" and "basey" parameters for older versions of matplotlib and the new "base" parameter for more recent versions of matplotlib.

freysteinn commented 3 months ago

I've updated the pull request to check for Matplotlib version 3.3 instead of the incorrect version 3.2. I also tested the commit using Python 8 and Matplotlib 3.2.2.