matplotlib 3.5.1

ParametersBackRef
detrend_mean(x, axis=None)

Parameters

x : array or sequence

Array or sequence containing the data Can have any dimensionality

axis : int

The axis along which to take the mean. See numpy.mean for a description of this argument.

Return x minus the mean(x).

See Also

detrend

A wrapper around all the detrend algorithms.

detrend_linear

Another detrend algorithm.

detrend_none

Another detrend algorithm.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

matplotlib.mlab.detrend matplotlib.axes._axes.Axes.psd matplotlib.mlab.detrend_none matplotlib.pyplot.csd matplotlib.pyplot.cohere matplotlib.axes._axes.Axes.csd matplotlib.pyplot.specgram matplotlib.axes._axes.Axes.cohere matplotlib.axes._axes.Axes.specgram matplotlib.mlab.csd matplotlib.mlab.cohere matplotlib.pyplot.psd matplotlib.mlab.specgram matplotlib.mlab.psd matplotlib.mlab matplotlib.mlab.detrend_linear

Local connectivity graph

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


File: /matplotlib/mlab.py#134
type: <class 'function'>
Commit: