def plot_tracked(self, tracked): plt.figure() plt.plot(range(len(tracked)), tracked) plt.title("Matches per Frame") plt.xlabel("Frame No.") plt.ylabel("Num of Tracks")