@@ -1311,7 +1311,7 @@ def __call__(self, value, clip=None):
13111311 ----------
13121312 value
13131313 Data to normalize.
1314- clip : bool
1314+ clip : bool, optional
13151315 If ``None``, defaults to ``self.clip`` (which defaults to
13161316 ``False``).
13171317
@@ -1450,7 +1450,7 @@ def autoscale_None(self, A):
14501450
14511451 def __call__ (self , value , clip = None ):
14521452 """
1453- Map value to the interval [0, 1]. The clip argument is unused.
1453+ Map value to the interval [0, 1]. The * clip* argument is unused.
14541454 """
14551455 result , is_scalar = self .process_value (value )
14561456 self .autoscale_None (result ) # sets self.vmin, self.vmax if None
@@ -1499,6 +1499,10 @@ def __init__(self, vcenter=0, halfrange=None, clip=False):
14991499 *vcenter* + *halfrange* is ``1.0`` in the normalization.
15001500 Defaults to the largest absolute difference to *vcenter* for
15011501 the values in the dataset.
1502+ clip : bool, default: False
1503+ If ``True`` values falling outside the range ``[vmin, vmax]``,
1504+ are mapped to 0 or 1, whichever is closer, and masked values are
1505+ set to 1. If ``False`` masked values remain masked.
15021506
15031507 Examples
15041508 --------
@@ -2423,7 +2427,8 @@ def shade(self, data, cmap, norm=None, blend_mode='overlay', vmin=None,
24232427 full illumination or shadow (and clipping any values that move
24242428 beyond 0 or 1). Note that this is not visually or mathematically
24252429 the same as vertical exaggeration.
2426- Additional kwargs are passed on to the *blend_mode* function.
2430+ **kwargs
2431+ Additional kwargs are passed on to the *blend_mode* function.
24272432
24282433 Returns
24292434 -------
@@ -2484,7 +2489,8 @@ def shade_rgb(self, rgb, elevation, fraction=1., blend_mode='hsv',
24842489 The x-spacing (columns) of the input *elevation* grid.
24852490 dy : number, optional
24862491 The y-spacing (rows) of the input *elevation* grid.
2487- Additional kwargs are passed on to the *blend_mode* function.
2492+ **kwargs
2493+ Additional kwargs are passed on to the *blend_mode* function.
24882494
24892495 Returns
24902496 -------
0 commit comments