Skip to content

'seaborn-whitegrid' is not a valid package style #152

@ivanpetrushev

Description

@ivanpetrushev

I see plot() explicitly sets the seaborn-whitegrid as a plot style: https://github.com/arundo/adtk/blob/master/src/adtk/visualization/_visualization.py#L201

Is it possible to have the plot style set as a configuration option, or leave it entirely out of this codebase?

The problem is that I can't get seaborn-whitegrid to register in my environment at all.

requirements.txt:

numpy==1.26.1
scipy==1.11.3
influxdb-client==1.36.1
pandas==2.1.2
matplotlib==3.8.1
adtk==0.6.2
SciencePlots==2.1.0
seaborn==0.13.0

plt.style.available:

['Solarize_Light2', '_classic_test_patch', '_mpl-gallery', '_mpl-gallery-nogrid', 'bmh', 'classic', 'dark_background', 'fast', 'fivethirtyeight', 'ggplot', 'grayscale', 'seaborn-v0_8', 'seaborn-v0_8-bright', 'seaborn-v0_8-colorblind', 'seaborn-v0_8-dark', 'seaborn-v0_8-dark-palette', 'seaborn-v0_8-darkgrid', 'seaborn-v0_8-deep', 'seaborn-v0_8-muted', 'seaborn-v0_8-notebook', 'seaborn-v0_8-paper', 'seaborn-v0_8-pastel', 'seaborn-v0_8-poster', 'seaborn-v0_8-talk', 'seaborn-v0_8-ticks', 'seaborn-v0_8-white', 'seaborn-v0_8-whitegrid', 'tableau-colorblind10']

Somehow I have seaborn-v0_8-whitegrid available, but no seaborn-whitegrid.

Environment: docker image FROM public.ecr.aws/lambda/python:3.10

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