How to plot the frequency spectrum with scipy