@@ -1321,7 +1321,7 @@ def __call__(self, value, clip=None):
13211321 ----------
13221322 value
13231323 Data to normalize.
1324- clip : bool
1324+ clip : bool, optional
13251325 If ``None``, defaults to ``self.clip`` (which defaults to
13261326 ``False``).
13271327
@@ -1456,7 +1456,7 @@ def autoscale_None(self, A):
14561456
14571457 def __call__ (self , value , clip = None ):
14581458 """
1459- Map value to the interval [0, 1]. The clip argument is unused.
1459+ Map value to the interval [0, 1]. The * clip* argument is unused.
14601460 """
14611461 result , is_scalar = self .process_value (value )
14621462 self .autoscale_None (result ) # sets self.vmin, self.vmax if None
@@ -1505,6 +1505,10 @@ def __init__(self, vcenter=0, halfrange=None, clip=False):
15051505 *vcenter* + *halfrange* is ``1.0`` in the normalization.
15061506 Defaults to the largest absolute difference to *vcenter* for
15071507 the values in the dataset.
1508+ clip : bool, default: False
1509+ If ``True`` values falling outside the range ``[vmin, vmax]``,
1510+ are mapped to 0 or 1, whichever is closer, and masked values are
1511+ set to 1. If ``False`` masked values remain masked.
15081512
15091513 Examples
15101514 --------
@@ -2405,7 +2409,8 @@ def shade(self, data, cmap, norm=None, blend_mode='overlay', vmin=None,
24052409 full illumination or shadow (and clipping any values that move
24062410 beyond 0 or 1). Note that this is not visually or mathematically
24072411 the same as vertical exaggeration.
2408- Additional kwargs are passed on to the *blend_mode* function.
2412+ **kwargs
2413+ Additional kwargs are passed on to the *blend_mode* function.
24092414
24102415 Returns
24112416 -------
@@ -2466,7 +2471,8 @@ def shade_rgb(self, rgb, elevation, fraction=1., blend_mode='hsv',
24662471 The x-spacing (columns) of the input *elevation* grid.
24672472 dy : number, optional
24682473 The y-spacing (rows) of the input *elevation* grid.
2469- Additional kwargs are passed on to the *blend_mode* function.
2474+ **kwargs
2475+ Additional kwargs are passed on to the *blend_mode* function.
24702476
24712477 Returns
24722478 -------
0 commit comments