plotnine.guides.guide_legend

class plotnine.guides.guide_legend(**kwargs)[source]

Legend guide

Parameters
nrowint

Number of rows of legends.

ncolint

Number of columns of legends.

byrowbool

Whether to fill the legend row-wise or column-wise.

keywidthfloat

Width of the legend key.

keyheightfloat

Height of the legend key.

kwargsdict

Parameters passed on to guide