GithubHelp home page GithubHelp logo

Comments (5)

fbdesignpro avatar fbdesignpro commented on June 8, 2024

@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.

GegznaV avatar GegznaV commented on June 8, 2024

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.

frank1010111 avatar frank1010111 commented on June 8, 2024

It looks like the warning is coming from this matplotlib API change

And the offending line is

plot_grid = plt.GridSpec(1, 15, figure = figure) # Setup a 1x10 grid
# plot_grid = plt.GridSpec(1, 15, hspace=0.2, wspace=0.1, figure = f) # Setup a 1x10 grid
ax = plt.subplot(plot_grid[:,:-1]) # Use the left 14/15ths of the grid for the main plot

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.

fbdesignpro avatar fbdesignpro commented on June 8, 2024

@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.

GegznaV avatar GegznaV commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.