Add in call to plt.clf() to clear the figure matplotlib figure after
each use.