I am trying to save images to my computer obtained with savefig. Here is the code :
fig=plt.gcf()
plt.show()
plt.draw()
fig.savefig('filename.jpg')
But I have 200 files. I want to save these images with filename1.jpg, filename2.jpg.....,filename200.jpg. So, each time I want to change the filename. How can I do it?