Matplotlib Enregistrer la figure sans montrer
from matplotlib import pyplot as plt
plt.savefig('foo.png')
plt.savefig('foo.pdf')
Armandres
from matplotlib import pyplot as plt
plt.savefig('foo.png')
plt.savefig('foo.pdf')