@@ -1676,25 +1676,23 @@ def shade(self, data, cmap, norm=None, blend_mode='overlay', vmin=None,
16761676 data : array-like
16771677 A 2d array (or equivalent) of the height values used to generate a
16781678 shaded map.
1679- cmap : `~ matplotlib.colors.Colormap` instance
1679+ cmap : matplotlib.colors.Colormap
16801680 The colormap used to color the *data* array. Note that this must be
1681- a `~matplotlib.colors.Colormap` instance. For example, rather than
1681+ a `~matplotlib.colors.Colormap` instance. For example, rather than
16821682 passing in `cmap='gist_earth'`, use
1683- `cmap=plt.get_cmap('gist_earth')` instead.
1684- norm : `~ matplotlib.colors.Normalize` instance , optional
1683+ `` cmap=plt.get_cmap('gist_earth')` ` instead.
1684+ norm : matplotlib.colors.Normalize, optional
16851685 The normalization used to scale values before colormapping. If
16861686 None, the input will be linearly scaled between its min and max.
16871687 blend_mode : {'hsv', 'overlay', 'soft'} or callable, optional
1688- The type of blending used to combine the colormapped data
1689- values with the illumination intensity. Default is
1690- "overlay". Note that for most topographic surfaces,
1691- "overlay" or "soft" appear more visually realistic. If a
1692- user-defined function is supplied, it is expected to
1693- combine an MxNx3 RGB array of floats (ranging 0 to 1) with
1694- an MxNx1 hillshade array (also 0 to 1). (Call signature
1695- `func(rgb, illum, **kwargs)`) Additional kwargs supplied
1696- to this function will be passed on to the *blend_mode*
1697- function.
1688+ The type of blending used to combine the colormapped data values
1689+ with the illumination intensity. Default is "overlay". Note that
1690+ for most topographic surfaces, "overlay" or "soft" appear more
1691+ visually realistic. If a user-defined function is supplied, it is
1692+ expected to combine an MxNx3 RGB array of floats (ranging 0 to
1693+ 1) with an MxNx1 hillshade array (also 0 to 1). (Call signature
1694+ ``func(rgb, illum, **kwargs)``) Additional kwargs supplied to this
1695+ function will be passed on to the *blend_mode* function.
16981696 vmin : scalar or None, optional
16991697 The minimum value used in colormapping *data*. If *None* the
17001698 minimum value in *data* is used. If *norm* is specified, then this
0 commit comments