specs

Shared visualization style specifications.

This module defines backend-agnostic visual-only TypedDict specifications used across visualization components and visualizers.

class pysatl_cpd.analysis.visualization.specs.PlotSpec[source]

Bases: TypedDict

Visual metadata for a subplot.

title: str | None
xlabel: str
ylabel: str
ylabel_twin: str
grid: bool
class pysatl_cpd.analysis.visualization.specs.LineSpec[source]

Bases: TypedDict

Visual style for a line-like element.

label: str | None
legend: bool
legend_group: str | None
color: str
linewidth: float
alpha: float
linestyle: str
marker: str
markersize: float
class pysatl_cpd.analysis.visualization.specs.FilledLineSpec[source]

Bases: TypedDict

Visual style for a line with optional area fill.

label: str | None
legend: bool
legend_group: str | None
color: str
linewidth: float
alpha: float
linestyle: str
marker: str
markersize: float
fill_color: str
fill_alpha: float
class pysatl_cpd.analysis.visualization.specs.FillSpec[source]

Bases: TypedDict

Visual style for a filled element.

label: str | None
legend: bool
legend_group: str | None
fill_color: str
fill_alpha: float
edge_color: str
edge_linewidth: float