Skip to content

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

Description

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/python@3.9/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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions