I am plotting spectrogram for time series just as it was explained here:
Scipy Spectrogram Manual
The manual said that in case of complex numbers sequence sent