automate png formatting with python,img.save('titled_plot.png')