Closed RicardoBlank closed 1 year ago
Changing plt.style.use("seaborn-deep")
to plt.style.use("seaborn-v0_8-deep")
at line 21 of plotting.py does the work.
Please use latest version (1.5.5) here: https://pypi.org/project/pyportfolioopt/#history
I am using the latest version 1.5.5 and still encounter this error. Any suggestions? Thanks
Changing plt.style.use("seaborn-deep") to plt.style.use("seaborn-v0_8-deep") at line 21 of plotting.py does the work.
After doing this, my python crashes every time I run the code that import plotting
module.
I fix this error, you can try:
pandas==1.3.3
seaborn==0.11.1
matplotlib==3.2.0
I am using the latest version 1.5.5 and still encounter this error. Any suggestions? Thanks
Changing plt.style.use("seaborn-deep") to plt.style.use("seaborn-v0_8-deep") at line 21 of plotting.py does the work.
After doing this, my python crashes every time I run the code that import
plotting
module.
Describe the bug Cannot import the plotting module
Thrown errors FileNotFoundError: [Errno 2] No such file or directory: 'seaborn-deep'
OSError: 'seaborn-deep' is not a valid package style, path of style file, URL of style file, or library style name (library styles are listed in
style.available
)Operating system, python version, PyPortfolioOpt version Linux, python 3.10.12, PyPortfolioOpt 1.5.4, matplotlib 3.8.0