@@ -1315,12 +1315,12 @@ def bar_wrapper(
13151315 # sense do document here; figure out way to move it here?
13161316 if left is not None :
13171317 warnings ._warn_proplot (
1318- f 'The "left" keyword with bar() is deprecated. Use "x" instead.'
1318+ 'The "left" keyword with bar() is deprecated. Use "x" instead.'
13191319 )
13201320 x = left
13211321 if x is None and height is None :
13221322 raise ValueError (
1323- f 'bar() requires at least 1 positional argument, got 0.'
1323+ 'bar() requires at least 1 positional argument, got 0.'
13241324 )
13251325 elif height is None :
13261326 x , height = None , x
@@ -1353,7 +1353,7 @@ def barh_wrapper(
13531353 kwargs .setdefault ('orientation' , 'horizontal' )
13541354 if y is None and width is None :
13551355 raise ValueError (
1356- f 'barh() requires at least 1 positional argument, got 0.'
1356+ 'barh() requires at least 1 positional argument, got 0.'
13571357 )
13581358 return self .bar (x = left , height = height , width = width , bottom = y , ** kwargs )
13591359
@@ -1521,7 +1521,7 @@ def violinplot_wrapper(
15211521 # Sanitize input
15221522 lw = _not_none (lw = lw , linewidth = linewidth )
15231523 if kwargs .pop ('showextrema' , None ):
1524- warnings ._warn_proplot (f 'Ignoring showextrema=True.' )
1524+ warnings ._warn_proplot ('Ignoring showextrema=True.' )
15251525 if 'showmeans' in kwargs :
15261526 kwargs .setdefault ('means' , kwargs .pop ('showmeans' ))
15271527 if 'showmedians' in kwargs :
@@ -2760,7 +2760,7 @@ def legend_wrapper(
27602760 )
27612761 if overridden :
27622762 warnings ._warn_proplot (
2763- f 'Ignoring user input properties '
2763+ 'Ignoring user input properties '
27642764 + ', ' .join (map (repr , overridden ))
27652765 + ' for centered-row legend.'
27662766 )
@@ -2780,7 +2780,7 @@ def legend_wrapper(
27802780 ymin , ymax = None , None
27812781 if order == 'F' :
27822782 raise NotImplementedError (
2783- f 'When center=True, ProPlot vertically stacks successive '
2783+ 'When center=True, ProPlot vertically stacks successive '
27842784 'single-row legends. Column-major (order="F") ordering '
27852785 'is un-supported.'
27862786 )
@@ -3344,6 +3344,7 @@ def _redirect(func):
33443344 be applied on the base axes class, not the basemap axes.
33453345 """
33463346 name = func .__name__
3347+
33473348 @functools .wraps (func )
33483349 def _wrapper (self , * args , ** kwargs ):
33493350 if getattr (self , 'name' , '' ) == 'basemap' :
@@ -3361,6 +3362,7 @@ def _norecurse(func):
33613362 """
33623363 name = func .__name__
33633364 func ._has_recurred = False
3365+
33643366 @functools .wraps (func )
33653367 def _wrapper (self , * args , ** kwargs ):
33663368 if func ._has_recurred :
0 commit comments