How to plot the frequency spectrum with scipy

Axes over which to compute the FFT. If not given, the last two axes are used. A repeated index in . axes. means the transform over that axis is performed multiple times. A one-element sequence means that a one-dimensional FFT is performed. Returns: out : complex ndarray. The truncated or zero-padded input, transformed along the axes indicated ... ................
................