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

AttributeError: 'AxesSubplot' object has no attribute 'set_axis_bgcolor' #13

Open
caddac opened this issue Apr 23, 2018 · 8 comments
Open

Comments

@caddac
Copy link
Contributor

caddac commented Apr 23, 2018

Running the latest version of this library on EMR using python 3.6.2. Getting the error
AttributeError: 'AxesSubplot' object has no attribute 'set_axis_bgcolor'. Looks like the library 'matplotlib` had a breaking change as discussed here: scikit-learn/scikit-learn#10762

@githubhnw
Copy link

Same for me. It looks like 'set_axis_bgcolor' should be replaced with 'facecolor'. Please look into part where the histograms are built.

@pidugusundeep
Copy link

pidugusundeep commented Jul 18, 2018

Please change this
File "/usr/local/lib/python2.7/site-packages/spark_df_profiling/base.py", line 164, in mini_histogram plot.set_facecolor("w")

in this line and please add the changes.
referer this issue where its changed. - > https://github.com/scikit-learn/scikit-learn/issues/10762

@caddac
Copy link
Contributor Author

caddac commented Jul 18, 2018

@pidugusundeep I don't follow your comment, this change has been submitted in #14

@pidugusundeep
Copy link

Thanks @caddac anyways i changed it as i didnt have it when i cloned the repo

@jeffkpayne
Copy link

@julioasotodv Any chance v1.1.14 will be released soon (including the fix for this issue, hopefully)?

@leandrohmvieira
Copy link

@julioasotodv Waiting for this deploy too, or at least some way to install from source on Azure Databricks

@leandrohmvieira
Copy link

@jeffkpayne just worked around it installing the lib as an egg using this tutorial, but its VERY SLOW, took 36 min to process a (600k, 50) dataframe on a small cluster, converting it to pandas then using pandas profiling is taking about 1-2 min

@tgoldenberg
Copy link

Any PRs to address this issue? Not working in Azure Databricks with python 3.6

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

No branches or pull requests

6 participants