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

AttritubeError mplDeprecation with matplotlib 3.8.0 #1455

Closed
3 tasks done
erreurBarbare opened this issue Sep 22, 2023 · 3 comments
Closed
3 tasks done

AttritubeError mplDeprecation with matplotlib 3.8.0 #1455

erreurBarbare opened this issue Sep 22, 2023 · 3 comments
Labels
bug 🐛 Something isn't working

Comments

@erreurBarbare
Copy link

erreurBarbare commented Sep 22, 2023

Current Behaviour

The following error occurs, when running a project with matplotlib 3.8.0

warnings.filterwarnings("ignore", category=matplotlib.cbook.mplDeprecation)
AttributeError: module 'matplotlib.cbook' has no attribute 'mplDeprecation'

Reported here as well: https://stackoverflow.com/questions/77128061/ydata-profiling-profilereport-attributeerror-module-matplotlib-cbook-has-no

Expected Behaviour

No error. Possibility to use matplotlib 3.8.0

Data Description

Code that reproduces the bug

Problem seems to come from here: https://github.com/ydataai/ydata-profiling/blob/develop/src/ydata_profiling/visualisation/context.py#L85

pandas-profiling version

Dependencies

-

OS

Manjaro / Docker python:3.11-slim

Checklist

  • There is not yet another bug report for this issue in the issue tracker
  • The problem is reproducible from this bug report. This guide can help to craft a minimal bug report.
  • The issue has not been resolved by the entries listed under Common Issues.
@garciadias
Copy link

Got the same error. Changed to matplotlib 3.7.3, the newest version before 3.8 and it worked.

@a-chumagin
Copy link

Looks like it will be fixed in the next release
https://github.com/ydataai/ydata-profiling/blob/develop/requirements.txt#L3

@fabclmnt fabclmnt added bug 🐛 Something isn't working and removed needs-triage labels Oct 6, 2023
@melanopsis
Copy link
Contributor

Can someone please re-open this? Pinning a dependency to its earlier version to prevent an issue is not really a resolution but a temporary workaround.

melanopsis added a commit to melanopsis/ydata-profiling that referenced this issue Nov 16, 2023
melanopsis added a commit to melanopsis/ydata-profiling that referenced this issue Nov 16, 2023
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

No branches or pull requests

6 participants