fix(logo): reserve a logo band in add_logo_ga() instead of a negative margin (#28)
R-CMD-check / R CMD check (push) Successful in 4m38s
R-CMD-check / R CMD check (push) Successful in 4m38s
add_logo_ga() now gives the logo its own band (logo_height inches) below the plots, as add_logo() does, and leaves plot margins alone unless margin_param is given. Closes #28 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a2a0fce265
commit
f3ec052144
4 files changed
+53
-18
No files matched your search
@@ -16,6 +16,9 @@
|
||||
- The logo now sits in its own reserved band instead of pulling the plot down with
|
||||
negative margins, so captions are no longer clipped at the bottom edge and the
|
||||
layout no longer depends on whether showtext is active (#20).
|
||||
- `add_logo_ga()` gets the same reserved logo band (`logo_height`) and no longer
|
||||
pulls the plots down with a negative margin. `margin_param` still overrides the
|
||||
bottom margin when given (#28).
|
||||
- The logo keeps its own aspect ratio on any canvas. `make_logo_grob()` used to
|
||||
stretch it to a fixed fraction of the plot width, so its shape changed with
|
||||
the canvas and it was already about 1.5 times too wide at 11 by 7 inches (#20).
|
||||
|
||||
Reference in new issue
Block a user