Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

freysteinn
Copy link
Contributor

@freysteinn freysteinn commented Jul 4, 2023

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.

flent/plotters.py Outdated Show resolved Hide resolved
flent/plotters.py Outdated Show resolved Hide resolved
@freysteinn freysteinn changed the title Fixed log-scale matplotlib compatibility for v3.2 Fixed log-scale matplotlib compatibility for v3.3 Apr 6, 2024
@freysteinn
Copy link
Contributor Author

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.

flent/plotters.py Outdated Show resolved Hide resolved
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.

Signed-off-by: Frey Alfredsson <[email protected]>
@tohojo tohojo merged commit 6c8dce5 into tohojo:master Apr 10, 2024
58 checks passed
@freysteinn freysteinn deleted the log-scale branch April 11, 2024 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants