title: How to generate vertical PDF using pdfpages in python
body: <p>I am using <code>from matplotlib.backends.backend_pdf import PdfPages</code> to generate PDFs containing multiple (sub)plots.</p>
  
  <p>Is there a way to control the orientation (horizontal/vertical) of the resulting pdf? I constantly get horizontal PDF's</p>
  
  <p>thanks</p>