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

Bug Report - 'matplotlib.cbook' has no attribute 'mplDeprecation' IT has be renamed to UserWarning #1531

Open
3 tasks done
HtagPersistence opened this issue Jan 30, 2024 · 1 comment

Comments

@HtagPersistence
Copy link

Current Behaviour

Failed to profile table due to: module 'matplotlib.cbook' has no attribute 'mplDeprecation'

Expected Behaviour

Should run correctly

Data Description

any kinsd of data is ok

Code that reproduces the bug

# This is the line that produce the error on my side
from ydata_profiling import ProfileReport

df = wr.athena.read_sql_query(
            "SELECT * FROM tablename LIMIT 10000;",
            database=database,
            boto3_session=role_session,
            s3_output="any-s3-url-here",
            ctas_approach=False,
            workgroup="any-workgroup-here",
            unload_approach=False,
        )
profile = ProfileReport(df, title="Profiling Report")

pandas-profiling version

"ydata-profiling == 4.5.1"

Dependencies

astroid==3.0.2
attrs==23.2.0
autopep8==2.0.4
aws-cdk-lib==2.124.0
aws-cdk.asset-awscli-v1==2.2.202
aws-cdk.asset-kubectl-v20==2.1.2
aws-cdk.asset-node-proxy-agent-v6==2.0.1
aws-lambda-powertools==2.32.0
aws-sam-translator==1.83.0
aws-xray-sdk==2.12.1
awsproxy @ 
awswrangler==3.5.1
boto3==1.26.31
botocore==1.29.165
cachetools==5.3.2
cattrs==23.2.3
cdk-nag==2.12.23
certifi==2023.11.17
cffi==1.16.0
cfn-lint==0.85.0
charset-normalizer==3.3.2
constructs==10.3.0
contourpy==1.2.0
coverage==7.4.1
coverage-badge==1.1.0
cryptography==42.0.1
cycler==0.12.1
dacite==1.8.1
dill==0.3.7
docker==7.0.0
docutils==0.20.1
ecdsa==0.18.0
Faker==22.5.1
flake8==7.0.0
fonttools==4.47.2
graphql-core==3.2.3
htmlmin==0.1.12
idna==3.6
ImageHash==4.3.1
importlib-metadata==7.0.1
importlib-resources==6.1.1
iniconfig==2.0.0
isort==5.13.2
jaraco.classes==3.3.0
Jinja2==3.1.3
jmespath==1.0.1
joblib==1.3.2
jschema-to-python==1.2.3
jsii==1.94.0
jsondiff==2.0.0
jsonpatch==1.33
jsonpath-ng==1.6.1
jsonpickle==3.0.2
jsonpointer==2.4
jsonschema==4.21.1
jsonschema-path==0.3.2
jsonschema-specifications==2023.12.1
junit-xml==1.9
keyring==24.3.0
kiwisolver==1.4.5
lazy-object-proxy==1.10.0
markdown-it-py==3.0.0
MarkupSafe==2.1.4
matplotlib==3.8.2
mccabe==0.7.0
mdurl==0.1.2
more-itertools==10.2.0
moto==4.2.14
mpmath==1.3.0
multimethod==1.10
multipart==0.2.4
networkx==3.2.1
nh3==0.2.15
numpy==1.23.5
openapi-schema-validator==0.6.2
openapi-spec-validator==0.7.1
opensearch-py==2.0.0
packaging==23.2
pandas==2.0.3
pathable==0.4.3
patsy==0.5.6
pbr==6.0.0
phik==0.12.4
pillow==10.2.0
pkginfo==1.9.6
platformdirs==4.1.0
pluggy==1.4.0
ply==3.11
psycopg2-binary==2.9.9
publication==0.0.3
py-partiql-parser==0.5.0
pyarrow==15.0.0
pyasn1==0.5.1
pycodestyle==2.11.1
pycparser==2.21
pydantic==1.10.14
pyflakes==3.2.0
Pygments==2.17.2
pylint==3.0.3
pyparsing==3.1.1
pytest==7.4.4
pytest-cov==4.1.0
pytest-mock==3.12.0
pytest-timeout==2.2.0
python-dateutil==2.8.2
python-jose==3.3.0
python-slugify==8.0.2
pytz==2023.3.post1
PyWavelets==1.5.0
PyYAML==6.0.1
readme-renderer==42.0
referencing==0.31.1
regex==2023.12.25
requests==2.31.0
requests-auth==7.0.0
requests-aws4auth==1.2.3
requests-toolbelt==1.0.0
responses==0.24.1
retrying==1.3.4
rfc3339-validator==0.1.4
rfc3986==2.0.0
rich==13.7.0
rpds-py==0.17.1
rsa==4.9
s3transfer==0.6.2
sarif-om==1.0.4
scipy==1.11.4
seaborn==0.12.2
semver==3.0.2
six==1.16.0
SQLAlchemy==2.0.20
sqlalchemy-filters==0.13.0
sqlalchemy-views==0.3.2
sshpubkeys==3.3.1
statsmodels==0.14.1
sympy==1.12
tangled-up-in-unicode==0.2.0
text-unidecode==1.3
tomlkit==0.12.3
tqdm==4.66.1
twine==4.0.2
typeguard==2.13.3
typing_extensions==4.9.0
tzdata==2023.4
urilib @ 
urllib3==1.26.18
visions==0.7.5
Werkzeug==3.0.1
wordcloud==1.9.3
wrapt==1.16.0
xmltodict==0.13.0
ydata-profiling==4.5.1
zipp==3.17.0

OS

MAC Sonoma M2

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.
@fabclmnt
Copy link
Contributor

Hi @HtagPersistence ,

have you checked wether the latest version of the package solve your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants