Learn Before
Code

Saving a Plot to a File

To save your plot to a file (either Seaborn or Matplotlib) run this,

#will save plot to filename.png file plt.savefig('filename.png')

0

1

Updated 2021-07-06

Tags

Python Programming Language

Data Science