title: Python saving multiple figures into one PDF file
body: <p>In python (for one figure created in a GUI) I was able to save the figure under .jpg and also .pdf by either using: </p>
  
  <pre><code>plt.savefig(filename1 +  '.pdf')
  </code></pre>
  
  <p>or</p>
  
  <pre><code>plt.savefig(filename1 +  '.jpg')
  </code></pre>
  
  <p>Using one file I would like to save multiple figures in either .pdf or .jpg (just like its done in math lab). Can anybody please help with this?</p>