adtk icon indicating copy to clipboard operation
adtk copied to clipboard

'seaborn-whitegrid' is not a valid package style

Open swanghobart opened this issue 2 months ago • 1 comments

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.

swanghobart avatar Nov 10 '25 06:11 swanghobart

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

cdmonkey avatar Nov 21 '25 06:11 cdmonkey