def METHOD_NAME(self, *args):
    spectrum, time = get_audio_data()
    self.spectrum_data.set_data("amplitude", spectrum)
    self.time_data.set_data("amplitude", time)
    spectrogram_data = self.spectrogram_plotdata.get_data("imagedata")
    spectrogram_data = hstack(
        (spectrogram_data[:, 1:], transpose([spectrum]))
    )
    self.spectrogram_plotdata.set_data("imagedata", spectrogram_data)
    self.spectrum_plot.request_redraw()