@@ -155,15 +155,14 @@ def set_title(self, label, fontdict=None, loc=None, pad=None,
155
155
156
156
Returns
157
157
-------
158
- text : :class:`~matplotlib.text .Text`
158
+ text : ` .Text`
159
159
The matplotlib text instance representing the title
160
160
161
161
Other Parameters
162
162
----------------
163
- **kwargs : `~matplotlib.text.Text` properties
164
- Other keyword arguments are text properties, see
165
- :class:`~matplotlib.text.Text` for a list of valid text
166
- properties.
163
+ **kwargs : `.Text` properties
164
+ Other keyword arguments are text properties, see `.Text` for a list
165
+ of valid text properties.
167
166
"""
168
167
if loc is None :
169
168
loc = rcParams ['axes.titlelocation' ]
@@ -912,13 +911,13 @@ def axline(self, xy1, xy2, **kwargs):
912
911
913
912
Returns
914
913
-------
915
- :class:`~matplotlib.lines .Line2D`
914
+ ` .Line2D`
916
915
917
916
Other Parameters
918
917
----------------
919
918
**kwargs
920
- Valid kwargs are :class:`~matplotlib.lines. Line2D` properties,
921
- with the exception of 'transform':
919
+ Valid kwargs are `. Line2D` properties, with the exception of
920
+ 'transform':
922
921
923
922
%(_Line2D_docstr)s
924
923
@@ -1285,14 +1284,12 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
1285
1284
1286
1285
**kwargs : optional
1287
1286
Other keyword arguments are line collection properties. See
1288
- :class:`~matplotlib.collections.LineCollection` for a list of
1289
- the valid properties.
1287
+ `.LineCollection` for a list of the valid properties.
1290
1288
1291
1289
Returns
1292
1290
-------
1293
- list : A list of :class:`~.collections.EventCollection` objects.
1294
- Contains the :class:`~.collections.EventCollection` that
1295
- were added.
1291
+ list : list of `.EventCollection`
1292
+ The `.EventCollection` that were added.
1296
1293
1297
1294
Notes
1298
1295
-----
@@ -1961,7 +1958,7 @@ def acorr(self, x, **kwargs):
1961
1958
1962
1959
Notes
1963
1960
-----
1964
- The cross correlation is performed with :func: `numpy.correlate` with
1961
+ The cross correlation is performed with `numpy.correlate` with
1965
1962
``mode = "full"``.
1966
1963
"""
1967
1964
return self .xcorr (x , x , ** kwargs )
@@ -2031,7 +2028,7 @@ def xcorr(self, x, y, normed=True, detrend=mlab.detrend_none,
2031
2028
2032
2029
Notes
2033
2030
-----
2034
- The cross correlation is performed with :func: `numpy.correlate` with
2031
+ The cross correlation is performed with `numpy.correlate` with
2035
2032
``mode = "full"``.
2036
2033
"""
2037
2034
Nx = len (x )
@@ -2597,7 +2594,7 @@ def broken_barh(self, xranges, yrange, **kwargs):
2597
2594
2598
2595
Other Parameters
2599
2596
----------------
2600
- **kwargs : :class: `.BrokenBarHCollection` properties
2597
+ **kwargs : `.BrokenBarHCollection` properties
2601
2598
2602
2599
Each *kwarg* can be either a single argument applying to all
2603
2600
rectangles, e.g.::
@@ -2616,7 +2613,7 @@ def broken_barh(self, xranges, yrange, **kwargs):
2616
2613
2617
2614
Returns
2618
2615
-------
2619
- collection : A :class: `~.collections.BrokenBarHCollection`
2616
+ collection : `~.collections.BrokenBarHCollection`
2620
2617
"""
2621
2618
# process the unit information
2622
2619
if len (xranges ):
@@ -2716,7 +2713,7 @@ def stem(self, *args, linefmt=None, markerfmt=None, basefmt=None, bottom=0,
2716
2713
2717
2714
Returns
2718
2715
-------
2719
- container : :class:`~matplotlib.container .StemContainer`
2716
+ container : ` .StemContainer`
2720
2717
The container may be treated like a tuple
2721
2718
(*markerline*, *stemlines*, *baseline*)
2722
2719
@@ -2908,15 +2905,14 @@ def pie(self, x, explode=None, labels=None, colors=None,
2908
2905
Returns
2909
2906
-------
2910
2907
patches : list
2911
- A sequence of :class: `matplotlib.patches.Wedge` instances
2908
+ A sequence of `matplotlib.patches.Wedge` instances
2912
2909
2913
2910
texts : list
2914
- A list of the label :class:`matplotlib.text .Text` instances.
2911
+ A list of the label ` .Text` instances.
2915
2912
2916
2913
autotexts : list
2917
- A list of :class:`~matplotlib.text.Text` instances for the numeric
2918
- labels. This will only be returned if the parameter *autopct* is
2919
- not *None*.
2914
+ A list of `.Text` instances for the numeric labels. This will only
2915
+ be returned if the parameter *autopct* is not *None*.
2920
2916
2921
2917
Notes
2922
2918
-----
@@ -3141,14 +3137,13 @@ def errorbar(self, x, y, yerr=None, xerr=None,
3141
3137
3142
3138
Returns
3143
3139
-------
3144
- container : :class:`~.container .ErrorbarContainer`
3140
+ container : ` .ErrorbarContainer`
3145
3141
The container contains:
3146
3142
3147
3143
- plotline: `.Line2D` instance of x, y plot markers and/or line.
3148
3144
- caplines: A tuple of `.Line2D` instances of the error bar caps.
3149
- - barlinecols: A tuple of
3150
- :class:`~matplotlib.collections.LineCollection` with the
3151
- horizontal and vertical error ranges.
3145
+ - barlinecols: A tuple of `.LineCollection` with the horizontal and
3146
+ vertical error ranges.
3152
3147
3153
3148
Other Parameters
3154
3149
----------------
@@ -5035,11 +5030,11 @@ def fill(self, *args, data=None, **kwargs):
5035
5030
5036
5031
Returns
5037
5032
-------
5038
- a list of :class: `~matplotlib.patches.Polygon`
5033
+ list of `~matplotlib.patches.Polygon`
5039
5034
5040
5035
Other Parameters
5041
5036
----------------
5042
- **kwargs : :class: `~matplotlib.patches.Polygon` properties
5037
+ **kwargs : `~matplotlib.patches.Polygon` properties
5043
5038
5044
5039
Notes
5045
5040
-----
@@ -7015,16 +7010,14 @@ def psd(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
7015
7010
7016
7011
See Also
7017
7012
--------
7018
- :func:`specgram`
7019
- :func:`specgram` differs in the default overlap; in not returning
7020
- the mean of the segment periodograms; in returning the times of the
7021
- segments; and in plotting a colormap instead of a line.
7022
-
7023
- :func:`magnitude_spectrum`
7024
- :func:`magnitude_spectrum` plots the magnitude spectrum.
7025
-
7026
- :func:`csd`
7027
- :func:`csd` plots the spectral density between two signals.
7013
+ specgram
7014
+ Differs in the default overlap; in not returning the mean of the
7015
+ segment periodograms; in returning the times of the segments; and
7016
+ in plotting a colormap instead of a line.
7017
+ magnitude_spectrum
7018
+ Plots the magnitude spectrum.
7019
+ csd
7020
+ Plots the spectral density between two signals.
7028
7021
7029
7022
Notes
7030
7023
-----
@@ -7132,8 +7125,7 @@ def csd(self, x, y, NFFT=None, Fs=None, Fc=None, detrend=None,
7132
7125
7133
7126
See Also
7134
7127
--------
7135
- :func:`psd`
7136
- :func:`psd` is the equivalent to setting y=x.
7128
+ psd : is equivalent to setting ``y = x``.
7137
7129
7138
7130
Notes
7139
7131
-----
@@ -7224,21 +7216,15 @@ def magnitude_spectrum(self, x, Fs=None, Fc=None, window=None,
7224
7216
7225
7217
See Also
7226
7218
--------
7227
- :func:`psd`
7228
- :func:`psd` plots the power spectral density.`.
7229
-
7230
- :func:`angle_spectrum`
7231
- :func:`angle_spectrum` plots the angles of the corresponding
7232
- frequencies.
7233
-
7234
- :func:`phase_spectrum`
7235
- :func:`phase_spectrum` plots the phase (unwrapped angle) of the
7236
- corresponding frequencies.
7237
-
7238
- :func:`specgram`
7239
- :func:`specgram` can plot the magnitude spectrum of segments within
7240
- the signal in a colormap.
7241
-
7219
+ psd
7220
+ Plots the power spectral density.
7221
+ angle_spectrum
7222
+ Plots the angles of the corresponding frequencies.
7223
+ phase_spectrum
7224
+ Plots the phase (unwrapped angle) of the corresponding frequencies.
7225
+ specgram
7226
+ Can plot the magnitude spectrum of segments within the signal in a
7227
+ colormap.
7242
7228
"""
7243
7229
if Fc is None :
7244
7230
Fc = 0
@@ -7308,18 +7294,13 @@ def angle_spectrum(self, x, Fs=None, Fc=None, window=None,
7308
7294
7309
7295
See Also
7310
7296
--------
7311
- :func:`magnitude_spectrum`
7312
- :func:`angle_spectrum` plots the magnitudes of the corresponding
7313
- frequencies.
7314
-
7315
- :func:`phase_spectrum`
7316
- :func:`phase_spectrum` plots the unwrapped version of this
7317
- function.
7318
-
7319
- :func:`specgram`
7320
- :func:`specgram` can plot the angle spectrum of segments within the
7321
- signal in a colormap.
7322
-
7297
+ magnitude_spectrum
7298
+ Plots the magnitudes of the corresponding frequencies.
7299
+ phase_spectrum
7300
+ Plots the unwrapped version of this function.
7301
+ specgram
7302
+ Can plot the angle spectrum of segments within the signal in a
7303
+ colormap.
7323
7304
"""
7324
7305
if Fc is None :
7325
7306
Fc = 0
@@ -7380,17 +7361,13 @@ def phase_spectrum(self, x, Fs=None, Fc=None, window=None,
7380
7361
7381
7362
See Also
7382
7363
--------
7383
- :func:`magnitude_spectrum`
7384
- :func:`magnitude_spectrum` plots the magnitudes of the
7385
- corresponding frequencies.
7386
-
7387
- :func:`angle_spectrum`
7388
- :func:`angle_spectrum` plots the wrapped version of this function.
7389
-
7390
- :func:`specgram`
7391
- :func:`specgram` can plot the phase spectrum of segments within the
7392
- signal in a colormap.
7393
-
7364
+ magnitude_spectrum
7365
+ Plots the magnitudes of the corresponding frequencies.
7366
+ angle_spectrum
7367
+ Plots the wrapped version of this function.
7368
+ specgram
7369
+ Can plot the phase spectrum of segments within the signal in a
7370
+ colormap.
7394
7371
"""
7395
7372
if Fc is None :
7396
7373
Fc = 0
@@ -7519,9 +7496,7 @@ def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
7519
7496
when a signal is acquired and then filtered and downsampled to
7520
7497
baseband.
7521
7498
7522
- cmap
7523
- A :class:`matplotlib.colors.Colormap` instance; if *None*, use
7524
- default determined by rc
7499
+ cmap : `.Colormap`, default: :rc:`image.cmap`
7525
7500
7526
7501
xextent : *None* or (xmin, xmax)
7527
7502
The image extent along the x-axis. The default sets *xmin* to the
@@ -7545,25 +7520,22 @@ def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
7545
7520
The times corresponding to midpoints of segments (i.e., the columns
7546
7521
in *spectrum*).
7547
7522
7548
- im : instance of class :class:`~matplotlib.image .AxesImage`
7549
- The image created by imshow containing the spectrogram
7523
+ im : instance of class ` .AxesImage`
7524
+ The image created by imshow containing the spectrogram.
7550
7525
7551
7526
See Also
7552
7527
--------
7553
- :func:`psd`
7554
- :func:`psd` differs in the default overlap; in returning the mean
7555
- of the segment periodograms; in not returning times; and in
7556
- generating a line plot instead of colormap.
7557
-
7558
- :func:`magnitude_spectrum`
7528
+ psd
7529
+ Differs in the default overlap; in returning the mean of the
7530
+ segment periodograms; in not returning times; and in generating a
7531
+ line plot instead of colormap.
7532
+ magnitude_spectrum
7559
7533
A single spectrum, similar to having a single segment when *mode*
7560
7534
is 'magnitude'. Plots a line instead of a colormap.
7561
-
7562
- :func:`angle_spectrum`
7535
+ angle_spectrum
7563
7536
A single spectrum, similar to having a single segment when *mode*
7564
7537
is 'angle'. Plots a line instead of a colormap.
7565
-
7566
- :func:`phase_spectrum`
7538
+ phase_spectrum
7567
7539
A single spectrum, similar to having a single segment when *mode*
7568
7540
is 'phase'. Plots a line instead of a colormap.
7569
7541
@@ -7655,7 +7627,7 @@ def spy(self, Z, precision=0, marker=None, markersize=None,
7655
7627
If *precision* is 0, any non-zero value will be plotted. Otherwise,
7656
7628
values of :math:`|Z| > precision` will be plotted.
7657
7629
7658
- For :class: `scipy.sparse.spmatrix` instances, you can also
7630
+ For `scipy.sparse.spmatrix` instances, you can also
7659
7631
pass 'present'. In this case any value present in the array
7660
7632
will be plotted, even if it is identically zero.
7661
7633
0 commit comments