title: How do I easily generate a report from python including matplotlib figures and pandas tables
body: <p>I have a code which calculates a performance report (including text, pandas tables and matplotlib figures). I am looking for away to export this report to a file (html/pdf etc).</p>
  
  <p>I have tried using <a href="http://mpastell.com/pweave/" rel="nofollow noreferrer">pweave</a> but I couldn't make it work properly (the example in the website works but when I try to use it in my code which has classes and functions it seems not to work).  Moreover, pweave doesn't seem to support pandas table. </p>
  
  <p>I am not familiar to <a href="https://pypi.python.org/pypi/Markdown" rel="nofollow noreferrer">markdown</a> package but this may be the key together with <a href="http://mpld3.github.io/" rel="nofollow noreferrer">mpld3</a>. Can anybody please help me with an example?</p>
  
  <p>Thanks,
  Hanan.</p>