detrend(x, key=None, axis=None)
Array or sequence containing the data.
The detrending algorithm to use. 'default', 'mean', and 'constant' are the same as detrend_mean
. 'linear' is the same as detrend_linear
. 'none' is the same as detrend_none
. The default is 'mean'. See the corresponding functions for more details regarding the algorithms. Can also be a function that carries out the detrend operation.
The axis along which to do the detrending.
Return x with its trend removed.
detrend_linear
Implementation of the 'linear' algorithm.
detrend_mean
Implementation of the 'mean' algorithm.
detrend_none
Implementation of the 'none' algorithm.
The following pages refer to to this document either explicitly or contain code examples using this.
matplotlib.mlab.detrend_mean
matplotlib.mlab.detrend_none
matplotlib.mlab
matplotlib.mlab.detrend_linear
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them