I am trying to plot a graph using matplotlib animation. However, I only want to use the animation only if the y_values appended from the random randint is above 50. Hence, m