Skip to content

Commit

Permalink
fixes #367
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Mar 16, 2024
1 parent 889cf39 commit 787263d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/scale_units.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ scale_x_units <- function(..., guide = ggplot2::waiver(), position = "bottom",
sc <- ggplot2::continuous_scale(
c("x", "xmin", "xmax", "xend", "xintercept", "xmin_final", "xmax_final",
"xlower", "xmiddle", "xupper"),
"position_c", identity, ...,
palette = identity, ...,
guide = guide,
position = position,
super = MakeScaleContinuousPositionUnits()
Expand All @@ -73,7 +73,7 @@ scale_y_units <- function(..., guide = ggplot2::waiver(), position = "left",
sc <- ggplot2::continuous_scale(
c("y", "ymin", "ymax", "yend", "yintercept", "ymin_final", "ymax_final",
"lower", "middle", "upper"),
"position_c", identity, ...,
palette = identity, ...,
guide = guide,
position = position,
super = MakeScaleContinuousPositionUnits()
Expand Down

0 comments on commit 787263d

Please sign in to comment.