Skip to content

Config

Configuration file for plotting.

Config dataclass

Default configuration used in some of the plots.

Parameters:

Name Type Description Default
divergent bool

whether to show divergent calendar by default.

True
range float

Where to a divergent plot

3.0
max_value_ratio float

Where to clip the default cmap in the calendar view

0.75
Source code in latent_calendar/plot/config.py
@dataclass
class Config:
    """Default configuration used in some of the plots.

    Args:
        divergent: whether to show divergent calendar by default.
        range: Where to a divergent plot
        max_value_ratio: Where to clip the default cmap in the calendar view

    """

    divergent: bool = True
    range: float = 3.0
    max_value_ratio: float = 0.75

Comments