loops - How to save multiple plots as seperate png files with names in Python? - Stack Overflow

PHOTO EMBED

Fri May 29 2020 11:34:17 GMT+0000 (Coordinated Universal Time)

Saved by @Amna #python

# ...
plt.legend()
plt.savefig(f"{d['Country'].iat[0]}_plot.png")
# ...
content_copyCOPY

https://stackoverflow.com/questions/62084501/how-to-save-multiple-plots-as-seperate-png-files-with-names-in-python