Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
larmarange committed Oct 11, 2024
1 parent b17ecd9 commit dc22d3a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ importFrom(lifecycle,deprecated)
importFrom(scales,percent)
importFrom(stats,weighted.mean)
importFrom(stats,weights)
importFrom(utils,modifyList)
2 changes: 1 addition & 1 deletion R/hex_bw.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' @param hex_code Background color in hex-format.
#' @return Either black or white, in hex-format
#' @source Adapted from `saros` for `hex_code()` and from
#' [https://github.com/teunbrand/ggplot_tricks?tab=readme-ov-file#text-contrast]
#' <https://github.com/teunbrand/ggplot_tricks?tab=readme-ov-file#text-contrast>
#' for `auto_contrast`.
#' @export
#' @examples
Expand Down
1 change: 1 addition & 0 deletions R/stat_prop.R
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ geom_prop_text <- function(mapping = ggplot2::aes(!!!auto_contrast),
}

# all defaults to after_stat(prop)
#' @importFrom utils modifyList
StatPropProp <- ggplot2::ggproto(
"StatPropProp",
StatProp,
Expand Down
2 changes: 1 addition & 1 deletion man/hex_bw.Rd

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

0 comments on commit dc22d3a

Please sign in to comment.