@@ -4180,7 +4180,7 @@ def _parse_scatter_color_args(c, edgecolors, kwargs, xshape, yshape,
4180
4180
label_namer = "y" )
4181
4181
def scatter (self , x , y , s = None , c = None , marker = None , cmap = None , norm = None ,
4182
4182
vmin = None , vmax = None , alpha = None , linewidths = None ,
4183
- verts = None , edgecolors = None , masked = False ,
4183
+ verts = None , edgecolors = None , plotinvalid = False ,
4184
4184
** kwargs ):
4185
4185
"""
4186
4186
A scatter plot of *y* vs *x* with varying marker size and/or color.
@@ -4257,7 +4257,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
4257
4257
For non-filled markers, the *edgecolors* kwarg is ignored and
4258
4258
forced to 'face' internally.
4259
4259
4260
- masked : boolean, optional, default: False
4260
+ plotinvalid : boolean, optional, default: False
4261
4261
Set to plot valid points with invalid color, in conjunction with
4262
4262
`~matplotlib.colors.Colormap.set_bad`.
4263
4263
@@ -4314,7 +4314,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
4314
4314
c , edgecolors , kwargs , xshape , yshape ,
4315
4315
get_next_color_func = self ._get_patches_for_fill .get_next_color )
4316
4316
4317
- if masked is False :
4317
+ if plotinvalid is False :
4318
4318
# `delete_masked_points` only modifies arguments of the same length
4319
4319
# as `x`.
4320
4320
x , y , s , c , colors , edgecolors , linewidths = \
@@ -4364,7 +4364,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
4364
4364
raise ValueError (
4365
4365
"'norm' must be an instance of 'mcolors.Normalize'" )
4366
4366
4367
- if masked is False :
4367
+ if plotinvalid is False :
4368
4368
collection .set_array (c )
4369
4369
else :
4370
4370
collection .set_array (ma .masked_invalid (c ))
0 commit comments