Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
GuangchuangYu committed Jun 17, 2024
1 parent 61ba9b7 commit 39b63ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ README.Rmd
README.md
^revdep$
.github
^CRAN-SUBMISSION$
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 0.2.3
Date: 2024-06-17 09:21:27 UTC
SHA: 61ba9b7f0961c4a809c37bfa208b91d6fe7e0abe
9 changes: 0 additions & 9 deletions R/axis.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@ ggplot_add.alab <- function(object, plot, object_name) {
object$axis <- NULL
gp <- do.call(grid::gpar, object)

if (axis == 'x') {
r <- yrange(plot)
} else {
r <- xrange(plot)
}

min <- (r[1] - diff(r)/10) * 1.25
max <- (r[1] - diff(r)/10) * .75

th <- plot$theme

if (axis == 'x') {
Expand Down

0 comments on commit 39b63ea

Please sign in to comment.