I am using plt.savefig to save a plot generated by matplotlib.pyplot, and I want to save my figure with different names each time I run the code. How can I do that?
-
Does this answer your question? How to save multiple graph in directory with unique file name in python?wovano– wovano2022-03-29 05:43:16 +00:00Commented Mar 29, 2022 at 5:43
-
Or see here: Python: How to create a unique file name?wovano– wovano2022-03-29 05:43:49 +00:00Commented Mar 29, 2022 at 5:43
Add a comment
|