endktheme/plotnine.py
def theme_energinet() -> p9.themes.theme:
    """Create a simple Energinet theme."""
    return p9.theme(
        text=p9.element_text(family=endktheme.style.font_family()),
        axis_line=p9.element_line(color="black"),
        plot_background=p9.element_blank(),
        panel_background=p9.element_rect(fill="white"),
        legend_background=p9.element_rect(fill="white"),
        legend_key=p9.element_blank(),
        panel_grid=p9.element_blank(),
        axis_ticks=p9.element_blank(),
    )
Create a simple Energinet theme.
Create a simple Energinet theme.
Create a simple Energinet theme .
def theme_energinet() -> p9.themes.theme:
    return p9.theme(
        text=p9.element_text(family=endktheme.style.font_family()),
        axis_line=p9.element_line(color="black"),
        plot_background=p9.element_blank(),
        panel_background=p9.element_rect(fill="white"),
        legend_background=p9.element_rect(fill="white"),
        legend_key=p9.element_blank(),
        panel_grid=p9.element_blank(),
        axis_ticks=p9.element_blank(),
    )
def theme_energinet ( ) -> p9 . themes . theme : return p9 . theme ( text = p9 . element_text ( family = endktheme . style . font_family ( ) ) , axis_line = p9 . element_line ( color = "black" ) , plot_background = p9 . element_blank ( ) , panel_background = p9 . element_rect ( fill = "white" ) , legend_background = p9 . element_rect ( fill = "white" ) , legend_key = p9 . element_blank ( ) , panel_grid = p9 . element_blank ( ) , axis_ticks = p9 . element_blank ( ) , )
Create a simple Energinet theme.
Create a simple Energinet theme .
"""Create a simple Energinet theme."""