def plot_storage(self, storage): plt.figure() plt.plot(range(len(storage)), storage) plt.title("Num of tracks over time") plt.xlabel("Frame No.") plt.ylabel("Num of Tracks")