reVReports.configs.MapVar#
- class MapVar(*, column: str, breaks: list[float], cmap: str, legend_title: str)[source]#
Bases:
BaseModelStrictContainer 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 name being mapped
List of break points for mapping variable
Colormap to use for mapping variable
Title to use for legend of mapping variable