@@ -440,12 +440,12 @@ def _create_lookup_table(N, data, gamma=1.0):
440440 N : int
441441 The number of elements of the created lookup table; at least 1.
442442
443- data : Mx3 array-like or callable
443+ data : (M, 3) array-like or callable
444444 Defines the mapping :math:`f`.
445445
446- If a Mx3 array-like, the rows define values (x, y0, y1). The x values
447- must start with x=0, end with x=1, and all x values be in increasing
448- order.
446+ If a (M, 3) array-like, the rows define values (x, y0, y1). The x
447+ values must start with x=0, end with x=1, and all x values be in
448+ increasing order.
449449
450450 A value between :math:`x_i` and :math:`x_{i+1}` is mapped to the range
451451 :math:`y^1_{i-1} \ldots y^0_i` by linear interpolation.
@@ -581,7 +581,7 @@ def __call__(self, X, alpha=None, bytes=False):
581581 return the RGBA values ``X*100`` percent along the Colormap line.
582582 For integers, X should be in the interval ``[0, Colormap.N)`` to
583583 return RGBA values *indexed* from the Colormap with index ``X``.
584- alpha : float, array-like, None
584+ alpha : float or array-like or None
585585 Alpha must be a scalar between 0 and 1, a sequence of such
586586 floats with shape matching X, or None.
587587 bytes : bool
@@ -1959,9 +1959,8 @@ def hillshade(self, elevation, vert_exag=1, dx=1, dy=1, fraction=1.):
19591959
19601960 Parameters
19611961 ----------
1962- elevation : array-like
1963- A 2D array (or equivalent) of the height values used to generate an
1964- illumination map
1962+ elevation : 2D array-like
1963+ The height values used to generate an illumination map
19651964 vert_exag : number, optional
19661965 The amount to exaggerate the elevation values by when calculating
19671966 illumination. This can be used either to correct for differences in
@@ -2057,9 +2056,8 @@ def shade(self, data, cmap, norm=None, blend_mode='overlay', vmin=None,
20572056
20582057 Parameters
20592058 ----------
2060- data : array-like
2061- A 2D array (or equivalent) of the height values used to generate a
2062- shaded map.
2059+ data : 2D array-like
2060+ The height values used to generate a shaded map.
20632061 cmap : `~matplotlib.colors.Colormap`
20642062 The colormap used to color the *data* array. Note that this must be
20652063 a `~matplotlib.colors.Colormap` instance. For example, rather than
0 commit comments