@@ -2028,11 +2028,11 @@ def step(self, x, y, *args, where='pre', data=None, **kwargs):
2028
2028
Parameters
2029
2029
----------
2030
2030
x : array-like
2031
- 1-D sequence of x positions. It is assumed, but not checked, that
2031
+ 1D sequence of x positions. It is assumed, but not checked, that
2032
2032
it is uniformly increasing.
2033
2033
2034
2034
y : array-like
2035
- 1-D sequence of y levels.
2035
+ 1D sequence of y levels.
2036
2036
2037
2037
fmt : str, optional
2038
2038
A format string, e.g. 'g' for a green line. See `.plot` for a more
@@ -4200,7 +4200,7 @@ def invalid_shape_exception(csize, xsize):
4200
4200
"RGBA sequence, which should be avoided as value-"
4201
4201
"mapping will have precedence in case its length "
4202
4202
"matches with *x* & *y*. Please use the *color* "
4203
- "keyword-argument or provide a 2-D array "
4203
+ "keyword-argument or provide a 2D array "
4204
4204
"with a single row if you intend to specify "
4205
4205
"the same RGB or RGBA value for all points." )
4206
4206
valid_shape = False
@@ -4253,14 +4253,14 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
4253
4253
4254
4254
- A scalar or sequence of n numbers to be mapped to colors using
4255
4255
*cmap* and *norm*.
4256
- - A 2-D array in which the rows are RGB or RGBA.
4256
+ - A 2D array in which the rows are RGB or RGBA.
4257
4257
- A sequence of colors of length n.
4258
4258
- A single color format string.
4259
4259
4260
4260
Note that *c* should not be a single numeric RGB or RGBA sequence
4261
4261
because that is indistinguishable from an array of values to be
4262
4262
colormapped. If you want to specify the same RGB or RGBA value for
4263
- all points, use a 2-D array with a single row. Otherwise, value-
4263
+ all points, use a 2D array with a single row. Otherwise, value-
4264
4264
matching will have precedence in case of a size matching with *x*
4265
4265
and *y*.
4266
4266
@@ -4341,7 +4341,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
4341
4341
case all masks will be combined and only unmasked points will be
4342
4342
plotted.
4343
4343
4344
- * Fundamentally, scatter works with 1-D arrays; *x*, *y*, *s*, and *c*
4344
+ * Fundamentally, scatter works with 1D arrays; *x*, *y*, *s*, and *c*
4345
4345
may be input as N-D arrays, but within scatter they will be
4346
4346
flattened. The exception is *c*, which will be flattened only if its
4347
4347
size matches the size of *x* and *y*.
@@ -5597,7 +5597,7 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
5597
5597
Parameters
5598
5598
----------
5599
5599
C : array-like
5600
- A scalar 2-D array. The values will be color-mapped.
5600
+ A scalar 2D array. The values will be color-mapped.
5601
5601
5602
5602
X, Y : array-like, optional
5603
5603
The coordinates of the corners of quadrilaterals of a pcolormesh::
@@ -5623,7 +5623,7 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
5623
5623
color ``C[i, j]`` will be centered on ``(X[i, j], Y[i, j])``.
5624
5624
5625
5625
If *X* and/or *Y* are 1-D arrays or column vectors they will be
5626
- expanded as needed into the appropriate 2-D arrays, making a
5626
+ expanded as needed into the appropriate 2D arrays, making a
5627
5627
rectangular grid.
5628
5628
5629
5629
shading : {'flat', 'nearest', 'auto'}, optional
@@ -5841,7 +5841,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
5841
5841
Parameters
5842
5842
----------
5843
5843
C : array-like
5844
- A scalar 2-D array. The values will be color-mapped.
5844
+ A scalar 2D array. The values will be color-mapped.
5845
5845
5846
5846
X, Y : array-like, optional
5847
5847
The coordinates of the corners of quadrilaterals of a pcolormesh::
@@ -5869,7 +5869,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
5869
5869
interpolation is caried out between the quadrilateral corners.
5870
5870
5871
5871
If *X* and/or *Y* are 1-D arrays or column vectors they will be
5872
- expanded as needed into the appropriate 2-D arrays, making a
5872
+ expanded as needed into the appropriate 2D arrays, making a
5873
5873
rectangular grid.
5874
5874
5875
5875
cmap : str or `~matplotlib.colors.Colormap`, default: :rc:`image.cmap`
@@ -5970,7 +5970,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
5970
5970
5971
5971
**Differences between pcolor() and pcolormesh()**
5972
5972
5973
- Both methods are used to create a pseudocolor plot of a 2-D array
5973
+ Both methods are used to create a pseudocolor plot of a 2D array
5974
5974
using quadrilaterals.
5975
5975
5976
5976
The main difference lies in the created object and internal data
@@ -6300,7 +6300,7 @@ def hist(self, x, bins=None, range=None, density=False, weights=None,
6300
6300
6301
6301
Multiple data can be provided via *x* as a list of datasets
6302
6302
of potentially different length ([*x0*, *x1*, ...]), or as
6303
- a 2-D ndarray in which each column is a dataset. Note that
6303
+ a 2D ndarray in which each column is a dataset. Note that
6304
6304
the ndarray form is transposed relative to the list form.
6305
6305
6306
6306
Masked arrays are not supported.
@@ -7478,7 +7478,7 @@ def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
7478
7478
7479
7479
Returns
7480
7480
-------
7481
- spectrum : 2-D array
7481
+ spectrum : 2D array
7482
7482
Columns are the periodograms of successive segments.
7483
7483
7484
7484
freqs : 1-D array
0 commit comments