adtk
adtk copied to clipboard
'seaborn-whitegrid' is not a valid package style
import pandas as pd
from adtk.visualization import plot
df = pd.read_csv('mydf.csv')
plot(df)
OSError: 'seaborn-whitegrid' 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)
you can
import seaborn
plt.style.available # look up available format
then replace
plt.style.use("seaborn-whitegrid")
in _visualization.py into
plt.style.use("seaborn-v0_8-whitegrid")
"
That's all right.
It's true that it doesn't report errors anymore, but it also doesn't display the graphic, and it doesn't respond to anything after execution. python version: 3.12