add a display test to set the doctest options (not fully fixed)
add the doctest option
fix spectrogram orientation