Skip to content

Commit

Permalink
kep separate geom
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-connelly-cmap committed Aug 7, 2024
1 parent e3f0ad4 commit fb6993c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/geom_text_lastonly_new.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
#' geom_text_lastonly(add_points=TRUE, text_aes=list(fontface="bold"), point_aes=list(size=2.5))
#'
#' @export
geom_text_lastonly <- function(mapping = NULL, data = NULL,
geom_text_lastonly_new <- function(mapping = NULL, data = NULL,
stat = "identity", position = NULL,
parse = FALSE,
box.padding = 0.25,
Expand Down Expand Up @@ -329,7 +329,7 @@ GeomTextLast <- ggproto(
data$hjust <- compute_just(data$hjust, data$x, data$y, data$angle)
}

ggname("geom_text_lastonly", gTree(
ggname("geom_text_lastonly_new", gTree(
limits = limits,
data = data,
lab = data$label,
Expand Down

0 comments on commit fb6993c

Please sign in to comment.