Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

save plot 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 #python
ADD COMMENT
Topic
Name
2+7 =