Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

save plot as image python

from matplotlib import pyplot as plt
# As png
plt.savefig('Path/FigureName.png')

# As pdf
plt.savefig('Path/FigureName.pdf')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #save #plot #image #python
ADD COMMENT
Topic
Name
2+3 =