plt.savefig
plt.savefig('X:/' + newName + '.png', bbox_inches='tight')
CodeHunter
plt.savefig('X:/' + newName + '.png', bbox_inches='tight')