Generating Reports with Python: PDF or HTML to PDF

前端 未结 2 596
借酒劲吻你
借酒劲吻你 2021-01-13 03:39

Using maptplotlib I have created 9 graphs which are combined in to a single pdf using the command savefig. However I need to be able to show the s

相关标签:
2条回答
  • 2021-01-13 04:15

    There are multiple possibilities:

    • http://pbpython.com/pdf-reports.html
    • http://gael-varoquaux.info/computers/pyreport/
    • https://github.com/JanSchulz/knitpy

    For the last, have a look at https://github.com/JanSchulz/knitpy/tree/master/examples, the docx, pdf and html versions were generated from the .pymd source. The example includes both pandas.DataFrames and matplotlib figures.

    Disclaimer: I'm the author of knitpy

    0 讨论(0)
  • 2021-01-13 04:32

    Pandas has the possibility to include a table with a plot. See the table kwarg to pandas.DataFrame.plot. See the docs: http://pandas.pydata.org/pandas-docs/dev/visualization.html#visualization-table

    0 讨论(0)
提交回复
热议问题