After removing pitch plot, it gives TypeError when trying to replot the pitch.
After removing pitch plot, it gives TypeError when trying to replot the pitch.