-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default 72 dpi in renderPlot
, where the common standard is 96
#25
Comments
Note in teal.devel we explicitly use the "72" to ensure the pdf and svg downloads are the correct size:
NEST/teal.modules.clinical/issues/868 Provenance:
|
DPI seems like a rabbit hole, especially if you target consistency across OSs + print. However, I'm thinking this info might add value in the upcoming Report generator/ Rmarkdown context: Provenance:
|
So here is the difference (note graphs are different as the example adds some noise)
This could easily be a teal option: And we should update the teal.options vignette to mention this. @kpagacz @Polkas any impact on teal.reporter here? and does this make sense to do? |
In short - I think there's an impact - users might be confused about small discrepancies between the saved object and the rendered object (so between what they see in a module and the report previewer). |
Hadley Wickham: I think the correct res is 96 because it ensures that (under typical conditions) 1" on the device is rendered as 1" on screen.
It is not only about going with recommended changes because of common standards. Current resolution of 72 could brings less readable text on our plots.
TODO: Please investigate pros&cons of changing default res. Having plot_with_settings we can specify it in only one place.
Provenance:
The text was updated successfully, but these errors were encountered: