I want to display two charts-pie chart and bar graph. But when i give
plt.close(\'all\')
The graphs close only when the whole program gets execut