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

pypfopt\plotting.py specifies an invalid style plt.style.use("seaborn-deep") #581

Closed
JonPoynter opened this issue Jan 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JonPoynter
Copy link

Describe the bug
I am getting an error with the plotting package:

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)

error caused by site-packages\pypfopt\plotting.py", line 21, in

plt.style.use("seaborn-deep")

I am using the latest version of seaborn 0.13.2

Expected behavior

Not to get an error

Code sample

error occurs when loading the package

from pypfopt import plotting

Operating system, python version, PyPortfolioOpt version
Windows OS Version: 10.0.22621, python 3.9.7, PyPortfolioOpt 1.5.5

Additional context
Add any other context about the problem here.

@JonPoynter JonPoynter added the bug Something isn't working label Jan 26, 2024
@mikylucky
Copy link
Contributor

Same error here, I just installed the library and imported it

macOS, python 3.11.7, PyPortfolioOpt 1.5.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants