Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python save figure as pdf

import matplotlib.pyplot as plt

f = plt.figure()
plt.plot(range(10), range(10), "o")
plt.show()

f.savefig("foo.pdf", bbox_inches='tight')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #save #figure #pdf
ADD COMMENT
Topic
Name
7+2 =