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

'seaborn-whitegrid' is not a valid package style, path of style file #403

Open
saif-software-developer opened this issue Sep 26, 2023 · 0 comments

Comments

@saif-software-developer

Traceback (most recent call last):
File "/Users/xxx/Documents/adtk-poc/venv/lib/python3.9/site-packages/matplotlib/style/core.py", line 137, in use
style = _rc_params_in_file(style)
File "/Users/xxx/Documents/adtk-poc/venv/lib/python3.9/site-packages/matplotlib/init.py", line 866, in _rc_params_in_file
with _open_file_or_url(fname) as fd:
File "/usr/local/Cellar/[email protected]/3.9.13_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/Users/xxx/Documents/adtk-poc/venv/lib/python3.9/site-packages/matplotlib/init.py", line 843, in _open_file_or_url
with open(fname, encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'seaborn-whitegrid'

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)

Code:

import pandas as pd
from adtk.data import validate_series
from adtk.visualization import plot

s_train = pd.read_csv("../resources/ec2_cpu_utilization_24ae8d.csv",
                      index_col= "timestamp", parse_dates= True)
s_train = validate_series(s_train)
print(s_train)

plot(s_train)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant