plotnine.guides.guide_legend

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

Legend guide

Parameters
nrowpython:int

Number of rows of legends.

ncolpython:int

Number of columns of legends.

byrowbool

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

keywidthpython:float

Width of the legend key.

keyheightpython:float

Height of the legend key.

kwargspython:dict

Parameters passed on to guide