In my program I have two charts. I have given the function
plt.close(\'all\')
and
plt.close()
But the charts are