Skip to content
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

[Bug]: forest plot is too wide to save to a4 paper #1026

Closed
3 tasks done
Tracked by #1061
clarkliming opened this issue Aug 9, 2023 · 2 comments · Fixed by #1057
Closed
3 tasks done
Tracked by #1061

[Bug]: forest plot is too wide to save to a4 paper #1026

clarkliming opened this issue Aug 9, 2023 · 2 comments · Fixed by #1057
Assignees
Labels
bug Something isn't working priority sme

Comments

@clarkliming
Copy link
Contributor

What happened?

g_forest creates too wide a figure and it doe not fit in a4 paper

image

there is a similar issue like insightsengineering/teal.modules.clinical#724

but for static output we need a4 paper

sessionInfo()

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.
@clarkliming
Copy link
Contributor Author

in chevron side, we add some truncation, and also modify the font sizes; it seems to work well now

@clarkliming
Copy link
Contributor Author

sorry to open it again, but maybe it is good to introduce some "fontsize" argument in g_forest to allow easier control of the output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority sme
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants