reVReports.configs.MapVar#

class MapVar(*, column: str, breaks: list[float], cmap: str, legend_title: str)[source]#

Bases: BaseModelStrict

Container for settings related to mapping variables

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Methods

Attributes

column

Column name being mapped

breaks

List of break points for mapping variable

cmap

Colormap to use for mapping variable

legend_title

Title to use for legend of mapping variable

column: str#

Column name being mapped

breaks: list[float]#

List of break points for mapping variable

cmap: str#

Colormap to use for mapping variable

legend_title: str#

Title to use for legend of mapping variable