Skip to content

Commit

Permalink
Add extra spacing around ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Mar 28, 2009
1 parent 444cff8 commit df6fe2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/guides-axis.r
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ guide_axis <- function(at, labels, position="right", theme) {

absoluteGrob(
gList(ticks, labels, line),
width = grobWidth(labels) + label_pos,
height = grobHeight(labels) + label_pos
width = grobWidth(labels) + label_pos + unit(0.1, "lines"),
height = grobHeight(labels) + label_pos + unit(0.1, "lines")
)
}

0 comments on commit df6fe2d

Please sign in to comment.