plt do png python

from matplotlib import pyplot as plt

plt.savefig('Path/FigureName.png')
Gabriel Juri