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

🐛 fix incompatible of MatplotlibDeprecationWarning #31

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

frostime
Copy link
Contributor

@frostime frostime commented Jan 17, 2024

After matplotlib v2.7.0 updated, the matplotlib.cbook.MatplotlibDeprecationWarning was deprecated, see https://matplotlib.org/stable/api/prev_api_changes/api_changes_3.7.0.html#deprecation-aliases-in-cbook

In order to avoid downstream breakage, these aliases will now warn, and their removal has been pushed from 3.6 to 3.8 to give time to notice said warnings. As replacement, please use matplotlib.MatplotlibDeprecationWarning.

This pull request, simply replaced mpl.cbook.MatplotlibDeprecationWarning with new came mpl.MatplotlibDeprecationWarning to prevent error.

@lgienapp lgienapp merged commit a874a81 into lgienapp:main Jan 17, 2024
1 check passed
@Kislovskiy
Copy link

@lgienapp are you planning to publish a new release with this fix? 🤓

@lgienapp
Copy link
Owner

Ah, yes, thanks for the reminder; that should've gone through automatically after the merge, but there was an error in the pypi config. Is fixed now and v0.0.6 with your PR is live on pypi. Thanks again for the contribution!

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.

3 participants