Edinburgh-Genome-Foundry / pdf_reports

:closed_book: Python library and CSS theme to generate PDF reports from HTML/Pug
https://edinburgh-genome-foundry.github.io/pdf_reports/
MIT License
225 stars 40 forks source link

Cannot see all columns of a Dataframe #16

Open Manas73 opened 3 years ago

Manas73 commented 3 years ago

I have around 12 columns in a dataframe and want to generate a pdf. However, once I generate the pdf I can only see the first 7 columns and the rest are cut off. Any way I can get all columns to be visible? I am fine if the font size is reduced (it should be readable).

Preview of the issue: image

veghp commented 3 years ago

Hmm.. PDF Reports uses weasyprint for PDF generation and the problem seems to be that the page is not wide enough, or, conversely, the table is too wide. (Is the html generated properly?) I'll have to refer you to the Weasyprint documentation for the customization of PDF templates. You can try