@@ -1606,7 +1606,7 @@ def colorbar(self, *args,
16061606 The space between the main subplot grid and the colorbar, or the
16071607 space between successively stacked colorbars. Units are interpreted
16081608 by `~proplot.utils.units`. By default, this is determined by
1609- the "tight layout" algorithm, or is :rc:`subplots.panelspace `
1609+ the "tight layout" algorithm, or is :rc:`subplots.panelpad `
16101610 if "tight layout" is off.
16111611 width : float or str, optional
16121612 The colorbar width. Units are interpreted by
@@ -1681,17 +1681,19 @@ def legend(self, *args,
16811681 space between successively stacked colorbars. Units are interpreted
16821682 by `~proplot.utils.units`. By default, this is adjusted
16831683 automatically in the "tight layout" calculation, or is
1684- :rc:`subplots.panelspace ` if "tight layout" is turned off.
1684+ :rc:`subplots.panelpad ` if "tight layout" is turned off.
16851685 *args, **kwargs
16861686 Passed to `~proplot.axes.Axes.legend`.
16871687 """
16881688 if 'ax' in kwargs :
1689- return kwargs .pop ('ax' ).legend (* args ,
1690- space = space , width = width , ** kwargs )
1689+ return kwargs .pop ('ax' ).legend (
1690+ * args , space = space , width = width , ** kwargs
1691+ )
16911692 else :
1692- ax = self ._add_figure_panel (loc ,
1693- space = space , width = width , span = span ,
1694- row = row , col = col , rows = rows , cols = cols )
1693+ ax = self ._add_figure_panel (
1694+ loc , space = space , width = width , span = span ,
1695+ row = row , col = col , rows = rows , cols = cols
1696+ )
16951697 return ax .legend (* args , loc = '_fill' , ** kwargs )
16961698
16971699 def save (self , filename , ** kwargs ):
0 commit comments