endktheme/plotnine.py
def scale_color_gradient_energinet(
    low: int = 0, high: int = 2, **kwargs
) -> p9.scale_color_gradient:
    """
    Create a two-point color gradient.

    Parameters:
        low (int): Index of low color.
        high (int): Index of high color.
    """
    pal = endktheme.colors.excel()
    return p9.scale_color_gradient(low=pal[low], high=pal[high], **kwargs)

    Create a two-point color gradient.

    Parameters:
        low (int): Index of low color.
        high (int): Index of high color.
    
Create a two-point color gradient.
Create a two - point color gradient .
def scale_color_gradient_energinet(
    low: int = 0, high: int = 2, **kwargs
) -> p9.scale_color_gradient:
    pal = endktheme.colors.excel()
    return p9.scale_color_gradient(low=pal[low], high=pal[high], **kwargs)
def scale_color_gradient_energinet ( low : int = 0 , high : int = 2 , ** kwargs ) -> p9 . scale_color_gradient : pal = endktheme . colors . excel ( ) return p9 . scale_color_gradient ( low = pal [ low ] , high = pal [ high ] , ** kwargs )
Create a two-point color gradient.
Create a two - point color gradient .
"""
    Create a two-point color gradient.

    Parameters:
        low (int): Index of low color.
        high (int): Index of high color.
    """
low
int
Index of low color.
Index of low color .
high
int
Index of high color.
Index of high color .