Open jodom961 opened 2 years ago
Might come from setting the backend, could you check? https://github.com/pandas-profiling/pandas-profiling/blob/develop/src/pandas_profiling/config.py#L8
yeah can confirm that setting that backend to agg
breaks plotting in jupyter notebooks...
the default appears to be
mpl.get_backend()
: 'module://matplotlib_inline.backend_inline'
maybe also related to #837 ?
Given that so many use jupyter for datascience/pandas stuff, maybe it could resolve the environment to see if ipython/jupyter is being used and if so set a different backend?
@jodom961 Yes, we should do this. Would you be interested in contributing a PR?
For sure.. will do shortly.
Describe the bug
if you import matplotlib in jupyter notebook and run
You get a plot.
if you import pandas profiling > 3.0.0 ( for example 3.1.0) it breaks matplot lib.
To Reproduce
We would need to reproduce your scenario before being able to resolve it.
Version information:
Version information is essential in reproducing and resolving bugs. Please report:
pip freeze: