spark-df-profiling icon indicating copy to clipboard operation
spark-df-profiling copied to clipboard

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

Open caddac opened this issue 6 years ago • 8 comments

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: https://github.com/scikit-learn/scikit-learn/issues/10762

caddac avatar Apr 23 '18 13:04 caddac

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

githubhnw avatar Jun 11 '18 12:06 githubhnw

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

pidugusundeep avatar Jul 18 '18 06:07 pidugusundeep

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

caddac avatar Jul 18 '18 12:07 caddac

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

pidugusundeep avatar Jul 23 '18 04:07 pidugusundeep

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

jeffkpayne avatar Dec 03 '18 18:12 jeffkpayne

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

leandrohmvieira avatar Feb 07 '19 12:02 leandrohmvieira

@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

leandrohmvieira avatar Feb 14 '19 13:02 leandrohmvieira

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

tgoldenberg avatar Jul 12 '19 22:07 tgoldenberg