def METHOD_NAME():
    for _ in f():
        self.tick()
        for ary, plot in zip(self.arrays, plots):
            plot.set_array(ary.get_plot_data())
        fig.canvas.draw()
        yield plots