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
colorstr | tuple

Line color

colourstr | tuple

Alias of color

linetypestr | tuple

Line style. If a string, it should be one of solid, dashed, dashdot or dotted. You can create interesting dashed patterns using tuples, see matplotlib.lines.Line2D.set_linestyle().

sizefloat

Line thickness

kwargsdict

Parameters recognised by matplotlib.lines.Line2D.