plotnine.element_line

element_line(
    *,
    color=None,
    size=None,
    linetype=None,
    lineend=None,
    colour=None,
    **kwargs
)

theme element: line

used for backgrounds and borders

Parameters

color : str | tuple = None

line color

colour : str | tuple = None

alias of color

linetype : str | tuple = None

line style. if a string, it should be one of solid, dashed, dashdot or dotted. you can create interesting dashed patterns using tuples, see set_linestyle.

size : float = None

line thickness

kwargs : dict = {}

Parameters recognised by line2d.