There seems to be a funny version incompatibility between numpy, pandas, matplotlib and seaborn where the kdeplot function in seaborn (or the histplot function with the parameter kde=True) give a ValueError of the form:
valueerror: multi-dimensional indexing (e.g. obj[:, none]) is no longer supported. convert to a numpy array before indexing instead.
One solution is to maintain the following versions of these libraries where this error does not occur:
numpy==1.25.2
matplotlib==3.7.2
pandas==2.1.4
seaborn==0.13.0
Python==3.10.13
If this reoccurs after re-testing the Paper ipynbs, feel free to update the environment in the pyproject.toml to these versions of packages, run all the pytests and if successful continue to use these versions
There seems to be a funny version incompatibility between numpy, pandas, matplotlib and seaborn where the kdeplot function in seaborn (or the histplot function with the parameter kde=True) give a ValueError of the form: valueerror: multi-dimensional indexing (e.g.
obj[:, none]
) is no longer supported. convert to a numpy array before indexing instead.One solution is to maintain the following versions of these libraries where this error does not occur: numpy==1.25.2 matplotlib==3.7.2 pandas==2.1.4 seaborn==0.13.0 Python==3.10.13