danijar / handout

Turn Python scripts into handouts with Markdown and figures
Apache License 2.0
2.01k stars 106 forks source link

How to change the HTML page width? #44

Closed markvdw closed 4 years ago

markvdw commented 4 years ago

Is it possible to change the width of the page? Sometimes it's nice to plot figures side by side and use the wide monitors we have.

danijar commented 4 years ago

Apologies for missing this question. You can make it use the full width this line (or use any CSS length to set it to a fixed value):

doc.add_html('<style>article { max-width: none; }</style>')