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

Titles overlapping plot #24

Closed
LiRogers opened this issue Apr 18, 2020 · 0 comments · Fixed by #25
Closed

Titles overlapping plot #24

LiRogers opened this issue Apr 18, 2020 · 0 comments · Fixed by #25

Comments

@LiRogers
Copy link
Contributor

Something like this should solve:
theme(plot.margin = margin(t = plot_margin + 2 * (base_size + title_size), r = plot_margin, b = plot_margin, l = 0, unit = "pt")) + theme(plot.title = element_text(margin = margin(t = -base_size * 2 - title_size * 2, r = 0, b = 2 * base_size, l = 0, unit = "pt")), plot.subtitle = element_text(margin = margin(t = -2 * base_size, r = 0, b = 2 * base_size, l = 0, unit = "pt")), legend.box.margin = margin(t = - 2 * base_size, r = plot_margin, b = label_size, l = 0, unit = "pt"))

@LiRogers LiRogers mentioned this issue Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant