Comments (5)
@GegznaV I'm not getting this message, even with an appropriately post-3.6 version. I'm guessing it could be due to the data being used (edge case?) or something with the environment (see my other post on Jupyter). I'll check out the environment, but I was wondering if you are getting this on every data set and analysis, or just some of them?
from sweetviz.
The package versions I use:
$ conda list | grep 'sweetviz\|matplotlib'
matplotlib 3.7.1 pypi_0 pypi
matplotlib-base 3.7.2 py311h6e989c2_0 conda-forge
matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge
sweetviz 2.2.1 pypi_0 pypi
I'll try to create a more reproducible example later.
from sweetviz.
It looks like the warning is coming from this matplotlib API change
And the offending line is
sweetviz/sweetviz/graph_associations.py
Lines 323 to 325 in 444ce22
So it should be fixable with something like
plot_grid = plt.GridSpec(1, 2, width_ratios=[14,1], figure = figure)
ax = plt.subplot(plot_grid[0,0])
Though I haven't had a chance to test this.
from sweetviz.
@GegznaV so it turns out we haven't been able to reproduce this, it might be data related (?). I'll mark the issue as such until we can get a good case. Thanks again!
from sweetviz.
I reinstalled the environment and cannot reproduce the issue with the current versions of the packages. Most probably, either the issue was solved or there were some installation issues. Thank you for looking into this. I'm closing it now.
conda list | grep 'sweetviz\|matplotlib'
matplotlib 3.7.3 pypi_0 pypi
matplotlib-inline 0.1.6 pypi_0 pypi
sweetviz 2.2.1 pypi_0 pypi
from sweetviz.
Related Issues (20)
- AttributeError: module 'numpy' has no attribute 'warnings' HOT 4
- sweetviz installed but won't run: module 'numpy' has no attribute 'warnings' HOT 3
- Can't find "index" HOT 9
- AttributeError: module 'numpy' has no attribute 'warnings' HOT 15
- Switch package specification from setup.py to pyproject.toml
- AttributeError: 'DataFrame' object has no attribute 'iteritems' HOT 3
- Security: Update jQuery HOT 2
- Deprecation warning while importing `display()` (Sweetviz 2.2.1) HOT 2
- [Feature] Order barcharts and frequency tables by index (natural order of values) HOT 1
- Import library without installing it HOT 1
- Bug: show_notebook saving file that can't be opened HOT 8
- `is_categorical_dtype` is deprecated HOT 2
- How to access the data from the "Associations" directly? HOT 1
- Export plots from report separately HOT 1
- compare infra fails with KeyError: 'cannot use a single bool to index into setitem' HOT 1
- The data cannot be output in the original order HOT 1
- Return generated HTML from the function show_html() in the ReportDataFrame class HOT 1
- Unable to run report with pandas 2.1.2
- Bug in binning comparison target in graph_numeric.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sweetviz.