isle-project / isle-editor

Editor for ISLE (Integrated Statistics Learning Environment) lessons.
https://isledocs.com
Other
16 stars 7 forks source link

[Bug]: report editor renders some plots too large in pdf #3582

Open gweinberg opened 9 months ago

gweinberg commented 9 months ago

Description

on https://isle.stat.cmu.edu/36-200-spring24/youtube_project1/ -> in report editor, search for user who's ID begins with "yun...". Then, in the html, plots look correct, for instance:

image

But when rendering to pdf in ISLE, that plot is made way too large and hence is mostly cut-off in the pdf:

image

However, other online html-to-pdf utilities render the pdf correctly; for instance, https://www.sejda.com/html-to-pdf (accessed Feb 15, 2024, which happened to be the first hit when googling "html to pdf") renders the pdf correctly from html:

image

Expected behavior

No response

To Reproduce

see above

Version

0.76.23

Link to ISLE lesson

see above

ISLE Code

No response

What browsers are you seeing the problem on?

Firefox

What browser version?

122.0.1

Additional context

No response