Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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