@@ -6110,12 +6110,9 @@ def pcolorfast(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
61106110 """
61116111 Create a pseudocolor plot with a non-regular rectangular grid.
61126112
6113- Call signatures ::
6113+ Call signature ::
61146114
6115- ax.pcolorfast(C, **kwargs)
6116- ax.pcolorfast(xr, yr, C, **kwargs)
6117- ax.pcolorfast(x, y, C, **kwargs)
6118- ax.pcolorfast(X, Y, C, **kwargs)
6115+ ax.pcolorfast([X, Y], C, /, **kwargs)
61196116
61206117 This method is similar to ~.Axes.pcolor` and `~.Axes.pcolormesh`.
61216118 It's designed to provide the fastest pcolor-type plotting with the
@@ -6135,24 +6132,24 @@ def pcolorfast(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
61356132 Parameters
61366133 ----------
61376134 C : array-like(M, N)
6138- A scalar 2D array. The values will be color-mapped.
6139- *C* may be a masked array .
6135+ A 2D array or masked array. The values will be color-mapped.
6136+ This argument can only be passed positionally .
61406137
6141- x, y : tuple or array-like
6138+ X, Y : tuple or array-like, default: ``(0, N)``, ``(0, M)``
61426139 *X* and *Y* are used to specify the coordinates of the
61436140 quadilaterals. There are different ways to do this:
61446141
6145- - Use tuples ``xr =(xmin, xmax)`` and ``yr =(ymin, ymax)`` to define
6142+ - Use tuples ``X =(xmin, xmax)`` and ``Y =(ymin, ymax)`` to define
61466143 a *uniform rectiangular grid*.
61476144
61486145 The tuples define the outer edges of the grid. All individual
61496146 quadrilaterals will be of the same size. This is the fastest
61506147 version.
61516148
6152- - Use 1D arrays *x *, *y * to specify a *non-uniform rectangular
6149+ - Use 1D arrays *X *, *Y * to specify a *non-uniform rectangular
61536150 grid*.
61546151
6155- In this case *x * and *y * have to be monotonic 1D arrays of length
6152+ In this case *X * and *Y * have to be monotonic 1D arrays of length
61566153 *N+1* and *M+1*, specifying the x and y boundaries of the cells.
61576154
61586155 The speed is intermediate. Note: The grid is checked, and if
@@ -6169,7 +6166,7 @@ def pcolorfast(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
61696166 produce faster and more compact output using ps, pdf, and
61706167 svg backends, however.
61716168
6172- Leaving out *x* and *y* defaults to ``xr=(0, N)``, ``yr=(O, M)`` .
6169+ These arguments can only be passed positionally .
61736170
61746171 cmap : str or `~matplotlib.colors.Colormap`, optional
61756172 A Colormap instance or registered colormap name. The colormap
@@ -6321,32 +6318,7 @@ def clabel(self, CS, *args, **kwargs):
63216318 return CS .clabel (* args , ** kwargs )
63226319 clabel .__doc__ = mcontour .ContourSet .clabel .__doc__
63236320
6324- @docstring .dedent_interpd
6325- def table (self , ** kwargs ):
6326- """
6327- Add a table to the current axes.
6328-
6329- Call signature::
6330-
6331- table(cellText=None, cellColours=None,
6332- cellLoc='right', colWidths=None,
6333- rowLabels=None, rowColours=None, rowLoc='left',
6334- colLabels=None, colColours=None, colLoc='center',
6335- loc='bottom', bbox=None)
6336-
6337- Returns a :class:`matplotlib.table.Table` instance. Either `cellText`
6338- or `cellColours` must be provided. For finer grained control over
6339- tables, use the :class:`~matplotlib.table.Table` class and add it to
6340- the axes with :meth:`~matplotlib.axes.Axes.add_table`.
6341-
6342- Thanks to John Gill for providing the class and table.
6343-
6344- kwargs control the :class:`~matplotlib.table.Table`
6345- properties:
6346-
6347- %(Table)s
6348- """
6349- return mtable .table (self , ** kwargs )
6321+ table = mtable .table
63506322
63516323 #### Data analysis
63526324
@@ -6983,12 +6955,6 @@ def psd(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
69836955 r"""
69846956 Plot the power spectral density.
69856957
6986- Call signature::
6987-
6988- psd(x, NFFT=256, Fs=2, Fc=0, detrend=mlab.detrend_none,
6989- window=mlab.window_hanning, noverlap=0, pad_to=None,
6990- sides='default', scale_by_freq=None, return_line=None, **kwargs)
6991-
69926958 The power spectral density :math:`P_{xx}` by Welch's average
69936959 periodogram method. The vector *x* is divided into *NFFT* length
69946960 segments. Each segment is detrended by function *detrend* and
@@ -7106,12 +7072,6 @@ def csd(self, x, y, NFFT=None, Fs=None, Fc=None, detrend=None,
71067072 """
71077073 Plot the cross-spectral density.
71087074
7109- Call signature::
7110-
7111- csd(x, y, NFFT=256, Fs=2, Fc=0, detrend=mlab.detrend_none,
7112- window=mlab.window_hanning, noverlap=0, pad_to=None,
7113- sides='default', scale_by_freq=None, return_line=None, **kwargs)
7114-
71157075 The cross spectral density :math:`P_{xy}` by Welch's average
71167076 periodogram method. The vectors *x* and *y* are divided into
71177077 *NFFT* length segments. Each segment is detrended by function
@@ -7218,11 +7178,6 @@ def magnitude_spectrum(self, x, Fs=None, Fc=None, window=None,
72187178 """
72197179 Plot the magnitude spectrum.
72207180
7221- Call signature::
7222-
7223- magnitude_spectrum(x, Fs=2, Fc=0, window=mlab.window_hanning,
7224- pad_to=None, sides='default', **kwargs)
7225-
72267181 Compute the magnitude spectrum of *x*. Data is padded to a
72277182 length of *pad_to* and the windowing function *window* is applied to
72287183 the signal.
@@ -7320,11 +7275,6 @@ def angle_spectrum(self, x, Fs=None, Fc=None, window=None,
73207275 """
73217276 Plot the angle spectrum.
73227277
7323- Call signature::
7324-
7325- angle_spectrum(x, Fs=2, Fc=0, window=mlab.window_hanning,
7326- pad_to=None, sides='default', **kwargs)
7327-
73287278 Compute the angle spectrum (wrapped phase spectrum) of *x*.
73297279 Data is padded to a length of *pad_to* and the windowing function
73307280 *window* is applied to the signal.
@@ -7402,11 +7352,6 @@ def phase_spectrum(self, x, Fs=None, Fc=None, window=None,
74027352 """
74037353 Plot the phase spectrum.
74047354
7405- Call signature::
7406-
7407- phase_spectrum(x, Fs=2, Fc=0, window=mlab.window_hanning,
7408- pad_to=None, sides='default', **kwargs)
7409-
74107355 Compute the phase spectrum (unwrapped angle spectrum) of *x*.
74117356 Data is padded to a length of *pad_to* and the windowing function
74127357 *window* is applied to the signal.
@@ -7551,14 +7496,6 @@ def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
75517496 """
75527497 Plot a spectrogram.
75537498
7554- Call signature::
7555-
7556- specgram(x, NFFT=256, Fs=2, Fc=0, detrend=mlab.detrend_none,
7557- window=mlab.window_hanning, noverlap=128,
7558- cmap=None, xextent=None, pad_to=None, sides='default',
7559- scale_by_freq=None, mode='default', scale='default',
7560- **kwargs)
7561-
75627499 Compute and plot a spectrogram of data in *x*. Data are split into
75637500 *NFFT* length segments and the spectrum of each section is
75647501 computed. The windowing function *window* is applied to each
0 commit comments