Skip to content

Commit 745bc16

Browse files
authored
Fixed matplotlib plot style
MatplotlibDeprecationWarning: The seaborn styles shipped by Matplotlib are deprecated since 3.6, as they no longer correspond to the styles shipped by seaborn. However, they will remain available as 'seaborn-v0_8-<style>' Fixes #581
1 parent 46f8485 commit 745bc16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypfopt/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from . import CLA, EfficientFrontier, exceptions, risk_models
1818

1919
try:
20-
plt.style.use("seaborn-deep")
20+
plt.style.use("seaborn-v0_8-deep")
2121
except Exception: # pragma: no cover
2222
pass
2323

0 commit comments

Comments
 (0)