Skip to content

Additional notes on legend.ticks.length #6527

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions R/theme.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@
#' or `"top"`, or a two-element numeric vector.
#' @param legend.frame frame drawn around the bar ([element_rect()]).
#' @param legend.ticks tick marks shown along bars or axes ([element_line()])
#' @param legend.ticks.length length of tick marks in legend
#' ([`unit()`][grid::unit]); inherits from `legend.key.size`.
#' @param legend.ticks.length length of tick marks in legend ([`unit()`][grid::unit]); By default, tick marks are positioned symmetrically. One-sided tick lengths can be controlled using absolute (`unit()`) or relative (`rel()`) values. For example, `unit(c(-0.15, 0), "cm")` or `rel(c(0.175, 0))` produces ticks on one side only. inherits from `legend.key.size`.
#' @param legend.axis.line lines along axes in legends ([element_line()])
#' @param legend.text legend item labels ([element_text()]; inherits from
#' `text`)
Expand Down