PlotStyle

PlotStyle#

Module: exa.core.plotting.plot_styles

class PlotStyle(value)#

Bases: Enum

Plot style enum for Matplotlib styles.

See also https://matplotlib.org/stable/gallery/style_sheets/style_sheets_reference.html

Attributes

BMH

CLASSIC

COLORBLIND

DARK

DEFAULT

FAST

FIVETHIRTYEIGHT

GGPLOT

GRAYSCALE

SEABORN

SOLARIZED

Methods

colors

Build a list of colors from plot style enum.

colors(count=None)#

Build a list of colors from plot style enum.

See also https://matplotlib.org/stable/gallery/style_sheets/style_sheets_reference.html for available colors in Matplotlib style.

Parameters:

count (int | None) – The numerator to decide how often color are repeated depending on the division by the number of colors.

Returns:

A list of colors.

Return type:

list[str]

Inheritance

Inheritance diagram of exa.core.plotting.plot_styles.PlotStyle