add plt.clf to hist