@@ -3242,13 +3242,13 @@ def __init__(self, norms, vmin=None, vmax=None, clip=False):
3242
3242
The constituent norms. The list must have a minimum length of 2.
3243
3243
vmin, vmax : float, None, or list of float or None
3244
3244
Limits of the constituent norms.
3245
- If a list, eacheach value is assigned toone of the constituent
3245
+ If a list, each value is assigned toeach of the constituent
3246
3246
norms. Single values are repeated to form a list of appropriate size.
3247
3247
3248
3248
clip : bool or list of bools, default: False
3249
3249
Determines the behavior for mapping values outside the range
3250
3250
``[vmin, vmax]`` for the constituent norms.
3251
- If a list, eacheach value is assigned toone of the constituent
3251
+ If a list, each value is assigned toeach of the constituent
3252
3252
norms. Single values are repeated to form a list of appropriate size.
3253
3253
3254
3254
"""
@@ -3348,7 +3348,8 @@ def _changed(self):
3348
3348
def __call__ (self ,value ,clip = None ):
3349
3349
"""
3350
3350
Normalize the data and return the normalized data.
3351
- Each variate in the input is assigned to the a constituent norm.
3351
+
3352
+ Each variate in the input is assigned to the constituent norm.
3352
3353
3353
3354
Parameters
3354
3355
----------
@@ -3381,8 +3382,7 @@ def __call__(self, value, clip=None):
3381
3382
3382
3383
def inverse (self ,value ):
3383
3384
"""
3384
- Maps the normalized value (i.e., index in the colormap) back to image
3385
- data value.
3385
+ Map the normalized value (i.e., index in the colormap) back to image data value.
3386
3386
3387
3387
Parameters
3388
3388
----------
@@ -3449,7 +3449,7 @@ def _iterable_variates_in_data(data, n_input):
3449
3449
"""
3450
3450
if isinstance (data ,np .ndarray )and data .dtype .fields is not None :
3451
3451
data = [data [descriptor [0 ]]for descriptor in data .dtype .descr ]
3452
- if not len (data )= =n_input :
3452
+ if len (data )! =n_input :
3453
3453
raise ValueError ("The input to this `MultiNorm` must be of shape "
3454
3454
f"({ n_input } , ...), or have a data type with{ n_input } "
3455
3455
"fields." )