Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Jun 27, 2024
1 parent 9844358 commit 7a3b979
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
10 changes: 10 additions & 0 deletions R/guide_stringlegend.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
#' size of the title.
#' @param default.units A `character(1)` indicating the default units to
#' use if the `spacing.*` arguments are only given as numeric vectors.
#' @param title.position A character string indicating the position of a title.
#' One of `"top"`, `"bottom"`, `"left"` or `"right"`.
#' @param title.theme A theme object for rendering the title text.
#' @param title.hjust,title.vjust A number specifying horizontal and vertical
#' justification of the title text.
#' @param label.theme A theme object for rendering the legend text.
#' @param label.hjust,label.vjust A numer specifying horizontal and vertical
#' justification of the legend text.
#' @param byrow logical. If `FALSE` (default) the legend-matrix is filled by
#' columns, otherwise the legend-matrix is filled by rows.
#'
#' @return A `guide`, `stringlegend` S3 object.
#' @export
Expand Down
1 change: 1 addition & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,4 @@ reference:
- elem_list_rect
- weave_factors
- sep_discrete
- at_panel
16 changes: 16 additions & 0 deletions man/guide_stringlegend.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat/_snaps/facetted_pos_scales.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

# facetted_pos_scales warns about unusual facets

Unknown facet: a <TestFacet/FacetGrid/Facet/ggproto/gg> object.
Unknown facet: a <TestFacet> object.
i Overriding facetted scales may be unstable.

0 comments on commit 7a3b979

Please sign in to comment.