@@ -841,15 +841,15 @@ def _single_spectrum_helper(x, mode, Fs=None, window=None, pad_to=None,
841841 The function applied to each segment before fft-ing,
842842 designed to remove the mean or linear trend. Unlike in
843843 MATLAB, where the *detrend* parameter is a vector, in
844- matplotlib is it a function. The :mod:`~matplotlib.pylab `
845- module defines :func:`~matplotlib.pylab .detrend_none`,
846- :func:`~matplotlib.pylab .detrend_mean`, and
847- :func:`~matplotlib.pylab .detrend_linear`, but you can use
844+ matplotlib is it a function. The :mod:`~matplotlib.mlab `
845+ module defines :func:`~matplotlib.mlab .detrend_none`,
846+ :func:`~matplotlib.mlab .detrend_mean`, and
847+ :func:`~matplotlib.mlab .detrend_linear`, but you can use
848848 a custom function as well. You can also use a string to choose
849849 one of the functions. 'default', 'constant', and 'mean' call
850- :func:`~matplotlib.pylab .detrend_mean`. 'linear' calls
851- :func:`~matplotlib.pylab .detrend_linear`. 'none' calls
852- :func:`~matplotlib.pylab .detrend_none`.
850+ :func:`~matplotlib.mlab .detrend_mean`. 'linear' calls
851+ :func:`~matplotlib.mlab .detrend_linear`. 'none' calls
852+ :func:`~matplotlib.mlab .detrend_none`.
853853
854854 scale_by_freq : bool, optional
855855 Specifies whether the resulting density values should be scaled
0 commit comments