@@ -394,7 +394,7 @@ class AutoFormatter(mticker.ScalarFormatter):
394394 """
395395 def __init__ (
396396 self , * args ,
397- zerotrim = None , precision = None , tickrange = None ,
397+ zerotrim = None , tickrange = None ,
398398 prefix = None , suffix = None , negpos = None , ** kwargs
399399 ):
400400 """
@@ -477,7 +477,7 @@ def __call__(self, x, pos=None):
477477 return sign + self ._prefix + string + self ._suffix + tail
478478
479479
480- def SimpleFormatter (* args , precision = 6 , zerotrim = True , ** kwargs ):
480+ def SimpleFormatter (precision = 6 , zerotrim = True ):
481481 """
482482 Return a `~matplotlib.ticker.FuncFormatter` instance that replicates the
483483 `zerotrim` feature from `AutoFormatter`. This is more suitable for
@@ -540,7 +540,7 @@ def f(x, pos): # must accept location argument
540540 return mticker .FuncFormatter (f )
541541
542542
543- def _scale_factory (scale , axis , * args , ** kwargs ):
543+ def _scale_factory (scale , axis , * args , ** kwargs ): # noqa: U100
544544 """If `scale` is a `~matplotlib.scale.ScaleBase` instance, do nothing. If
545545 it is a registered scale name, look up and instantiate that scale."""
546546 if isinstance (scale , mscale .ScaleBase ):
@@ -938,7 +938,7 @@ class PowerScale(_ScaleBase, mscale.ScaleBase):
938938 name = 'power'
939939 """The registered scale name."""
940940
941- def __init__ (self , power = 1 , inverse = False , * , minpos = 1e-300 , ** kwargs ):
941+ def __init__ (self , power = 1 , inverse = False , * , minpos = 1e-300 ):
942942 """
943943 Parameters
944944 ----------
@@ -1025,7 +1025,7 @@ class ExpScale(_ScaleBase, mscale.ScaleBase):
10251025 """The registered scale name."""
10261026
10271027 def __init__ (
1028- self , a = np .e , b = 1 , c = 1 , inverse = False , minpos = 1e-300 , ** kwargs
1028+ self , a = np .e , b = 1 , c = 1 , inverse = False , minpos = 1e-300 ,
10291029 ):
10301030 """
10311031 Parameters
@@ -1134,7 +1134,7 @@ def __init__(self, thresh=85.0):
11341134 self ._default_major_formatter = Formatter ('deg' )
11351135 self ._default_smart_bounds = True
11361136
1137- def limit_range_for_scale (self , vmin , vmax , minpos ):
1137+ def limit_range_for_scale (self , vmin , vmax , minpos ): # noqa: U100
11381138 """Return *vmin* and *vmax* limited to some range within
11391139 +/-90 degrees (exclusive)."""
11401140 return max (vmin , - self ._thresh ), min (vmax , self ._thresh )
@@ -1208,7 +1208,7 @@ def __init__(self):
12081208 self ._default_major_formatter = Formatter ('deg' )
12091209 self ._default_smart_bounds = True
12101210
1211- def limit_range_for_scale (self , vmin , vmax , minpos ):
1211+ def limit_range_for_scale (self , vmin , vmax , minpos ): # noqa: U100
12121212 """Return *vmin* and *vmax* limited to some range within
12131213 +/-90 degrees (inclusive)."""
12141214 return max (vmin , - 90 ), min (vmax , 90 )
@@ -1267,7 +1267,7 @@ class CutoffScale(_ScaleBase, mscale.ScaleBase):
12671267 name = 'cutoff'
12681268 """The registered scale name."""
12691269
1270- def __init__ (self , * args , ** kwargs ):
1270+ def __init__ (self , * args ):
12711271 """
12721272 Parameters
12731273 ----------
@@ -1382,7 +1382,7 @@ class InverseScale(_ScaleBase, mscale.ScaleBase):
13821382 name = 'inverse'
13831383 """The registered scale name."""
13841384
1385- def __init__ (self , ** kwargs ):
1385+ def __init__ (self ):
13861386 super ().__init__ ()
13871387 self ._transform = InverseTransform ()
13881388 # self._default_major_formatter = Fromatter('log')
0 commit comments