To close all open figures from a script, you can call
plt.close('all')
or you can terminate the associated Python process.
To close all open figures from a script, you can call
plt.close('all')
or you can terminate the associated Python process.