0 points

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


dashboard

Fri May 29 2020 11:34:17 GMT+0000 (UTC)

Posted by @Amna #python

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

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