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

matplotlib versions older than 3.5 crash with cabinetry 0.5.0 #369

Closed
alexander-held opened this issue Oct 5, 2022 · 0 comments · Fixed by #370
Closed

matplotlib versions older than 3.5 crash with cabinetry 0.5.0 #369

alexander-held opened this issue Oct 5, 2022 · 0 comments · Fixed by #370
Labels
bug Something isn't working

Comments

@alexander-held
Copy link
Member

alexander-held commented Oct 5, 2022

When using matplotlib versions older than 3.5, the layout keyword argument usage in plt.figure / plt.subplots crashes (used in cabinetry.visualize), as this was only introduced in 3.5. To fix this, we should either raise the minimum required matplotlib version or refactor the implementation to avoid the use of this keyword argument.

(reported by @kratsg, thank you!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant