plotnine.themes.element_line

class plotnine.themes.element_line(color=None, size=None, linetype=None, lineend=None, colour=None, **kwargs)[source]

Theme element: Line

Used for backgrounds and borders

Parameters:
color : str | tuple

Line color

colour : str | tuple

Alias of color

linetype : str | tuple

Line style. See matplotlib.lines.Line2D.set_linestyle() for specification.

size : float

Line thickness

kwargs : dict

Parameters recognised by matplotlib.lines.Line2D.