Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd558d9

Browse files
committed
Indent correctly in mlab
1 parent b4fb455 commit fd558d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/matplotlib/mlab.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ def demean(x, axis=0):
394394
.. seealso::
395395
396396
:func:`delinear`
397+
397398
:func:`denone`
398399
:func:`delinear` and :func:`denone` are other detrend algorithms.
399400
@@ -427,6 +428,7 @@ def detrend_mean(x, axis=None):
427428
for the default *axis*.
428429
429430
:func:`detrend_linear`
431+
430432
:func:`detrend_none`
431433
:func:`detrend_linear` and :func:`detrend_none` are other
432434
detrend algorithms.
@@ -474,6 +476,7 @@ def detrend_none(x, axis=None):
474476
for the default *axis*, which has no effect.
475477
476478
:func:`detrend_mean`
479+
477480
:func:`detrend_linear`
478481
:func:`detrend_mean` and :func:`detrend_linear` are other
479482
detrend algorithms.
@@ -506,6 +509,7 @@ def detrend_linear(y):
506509
for the default *axis*.
507510
508511
:func:`detrend_mean`
512+
509513
:func:`detrend_none`
510514
:func:`detrend_mean` and :func:`detrend_none` are other
511515
detrend algorithms.
@@ -878,6 +882,7 @@ def _single_spectrum_helper(x, mode, Fs=None, window=None, pad_to=None,
878882
879883
*detrend*: [ 'default' | 'constant' | 'mean' | 'linear' | 'none'] or
880884
callable
885+
881886
The function applied to each segment before fft-ing,
882887
designed to remove the mean or linear trend. Unlike in
883888
MATLAB, where the *detrend* parameter is a vector, in
@@ -1244,6 +1249,7 @@ def specgram(x, NFFT=None, Fs=None, detrend=None, window=None,
12441249
12451250
*mode*: [ 'default' | 'psd' | 'complex' | 'magnitude'
12461251
'angle' | 'phase' ]
1252+
12471253
What sort of spectrum to use. Default is 'psd'. which takes the
12481254
power spectral density. 'complex' returns the complex-valued
12491255
frequency spectrum. 'magnitude' returns the magnitude spectrum.

0 commit comments

Comments
 (0)