PyPortfolioOpt icon indicating copy to clipboard operation
PyPortfolioOpt copied to clipboard

from pypfopt import plotting

Open thequantfinancegrad opened this issue 1 year ago • 2 comments

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)

thequantfinancegrad avatar Apr 12 '24 03:04 thequantfinancegrad

The offending line is on the file plotting.py:

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

This style does no longer exists within matplotlib. Changing the line to another style ("classic" for example) removes the error and in your code you can then use plt.style.use() with your own desired available style.

Charango-Chile avatar Apr 15 '24 11:04 Charango-Chile