@@ -1414,7 +1414,7 @@ def plot(self, *args, scalex=True, scaley=True, data=None, **kwargs):
1414
1414
>>> plot(x1, y1, 'bo')
1415
1415
>>> plot(x2, y2, 'go')
1416
1416
1417
- - Alternatively, if your data is already a 2d array, you can pass it
1417
+ - Alternatively, if your data is already a 2D array, you can pass it
1418
1418
directly to *x*, *y*. A separate data set will be drawn for every
1419
1419
column.
1420
1420
@@ -2025,11 +2025,11 @@ def step(self, x, y, *args, where='pre', data=None, **kwargs):
2025
2025
Parameters
2026
2026
----------
2027
2027
x : array-like
2028
- 1-D sequence of x positions. It is assumed, but not checked, that
2028
+ 1D sequence of x positions. It is assumed, but not checked, that
2029
2029
it is uniformly increasing.
2030
2030
2031
2031
y : array-like
2032
- 1-D sequence of y levels.
2032
+ 1D sequence of y levels.
2033
2033
2034
2034
fmt : str, optional
2035
2035
A format string, e.g. 'g' for a green line. See `.plot` for a more
@@ -4197,7 +4197,7 @@ def invalid_shape_exception(csize, xsize):
4197
4197
"RGBA sequence, which should be avoided as value-"
4198
4198
"mapping will have precedence in case its length "
4199
4199
"matches with *x* & *y*. Please use the *color* "
4200
- "keyword-argument or provide a 2-D array "
4200
+ "keyword-argument or provide a 2D array "
4201
4201
"with a single row if you intend to specify "
4202
4202
"the same RGB or RGBA value for all points." )
4203
4203
valid_shape = False
@@ -4250,14 +4250,14 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
4250
4250
4251
4251
- A scalar or sequence of n numbers to be mapped to colors using
4252
4252
*cmap* and *norm*.
4253
- - A 2-D array in which the rows are RGB or RGBA.
4253
+ - A 2D array in which the rows are RGB or RGBA.
4254
4254
- A sequence of colors of length n.
4255
4255
- A single color format string.
4256
4256
4257
4257
Note that *c* should not be a single numeric RGB or RGBA sequence
4258
4258
because that is indistinguishable from an array of values to be
4259
4259
colormapped. If you want to specify the same RGB or RGBA value for
4260
- all points, use a 2-D array with a single row. Otherwise, value-
4260
+ all points, use a 2D array with a single row. Otherwise, value-
4261
4261
matching will have precedence in case of a size matching with *x*
4262
4262
and *y*.
4263
4263
@@ -4338,7 +4338,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
4338
4338
case all masks will be combined and only unmasked points will be
4339
4339
plotted.
4340
4340
4341
- * Fundamentally, scatter works with 1-D arrays; *x*, *y*, *s*, and *c*
4341
+ * Fundamentally, scatter works with 1D arrays; *x*, *y*, *s*, and *c*
4342
4342
may be input as N-D arrays, but within scatter they will be
4343
4343
flattened. The exception is *c*, which will be flattened only if its
4344
4344
size matches the size of *x* and *y*.
@@ -5594,7 +5594,7 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
5594
5594
Parameters
5595
5595
----------
5596
5596
C : array-like
5597
- A scalar 2-D array. The values will be color-mapped.
5597
+ A scalar 2D array. The values will be color-mapped.
5598
5598
5599
5599
X, Y : array-like, optional
5600
5600
The coordinates of the corners of quadrilaterals of a pcolormesh::
@@ -5620,7 +5620,7 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
5620
5620
color ``C[i, j]`` will be centered on ``(X[i, j], Y[i, j])``.
5621
5621
5622
5622
If *X* and/or *Y* are 1-D arrays or column vectors they will be
5623
- expanded as needed into the appropriate 2-D arrays, making a
5623
+ expanded as needed into the appropriate 2D arrays, making a
5624
5624
rectangular grid.
5625
5625
5626
5626
shading : {'flat', 'nearest', 'auto'}, optional
@@ -5838,7 +5838,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
5838
5838
Parameters
5839
5839
----------
5840
5840
C : array-like
5841
- A scalar 2-D array. The values will be color-mapped.
5841
+ A scalar 2D array. The values will be color-mapped.
5842
5842
5843
5843
X, Y : array-like, optional
5844
5844
The coordinates of the corners of quadrilaterals of a pcolormesh::
@@ -5866,7 +5866,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
5866
5866
interpolation is caried out between the quadrilateral corners.
5867
5867
5868
5868
If *X* and/or *Y* are 1-D arrays or column vectors they will be
5869
- expanded as needed into the appropriate 2-D arrays, making a
5869
+ expanded as needed into the appropriate 2D arrays, making a
5870
5870
rectangular grid.
5871
5871
5872
5872
cmap : str or `~matplotlib.colors.Colormap`, default: :rc:`image.cmap`
@@ -5967,7 +5967,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
5967
5967
5968
5968
**Differences between pcolor() and pcolormesh()**
5969
5969
5970
- Both methods are used to create a pseudocolor plot of a 2-D array
5970
+ Both methods are used to create a pseudocolor plot of a 2D array
5971
5971
using quadrilaterals.
5972
5972
5973
5973
The main difference lies in the created object and internal data
@@ -6285,7 +6285,7 @@ def hist(self, x, bins=None, range=None, density=False, weights=None,
6285
6285
6286
6286
Multiple data can be provided via *x* as a list of datasets
6287
6287
of potentially different length ([*x0*, *x1*, ...]), or as
6288
- a 2-D ndarray in which each column is a dataset. Note that
6288
+ a 2D ndarray in which each column is a dataset. Note that
6289
6289
the ndarray form is transposed relative to the list form.
6290
6290
6291
6291
Masked arrays are not supported.
@@ -7461,7 +7461,7 @@ def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
7461
7461
7462
7462
Returns
7463
7463
-------
7464
- spectrum : 2-D array
7464
+ spectrum : 2D array
7465
7465
Columns are the periodograms of successive segments.
7466
7466
7467
7467
freqs : 1-D array
0 commit comments