title: Multiple page PDF with multiple charts per page from matplotlib
body: <p>How can I do multiple page PDF with multiple charts per page from matplotlib to PDF?</p>
  
  <p>There is a great example for chart per page into multiple page PDF:
  <a href="http://matplotlib.org/examples/pylab_examples/multipage_pdf.html" rel="nofollow">http://matplotlib.org/examples/pylab_examples/multipage_pdf.html</a></p>
  
  <p><strong>How can I do for example 8 charts per portrait page? Or better 1 to 8 on grid of 8</strong> because number of charts is usually not exact multiple of 8 in my case.</p>