Permalink
Browse files

Both axis lines draw above panel

  • Loading branch information...
1 parent edd27c0 commit 27410639ddd346f650dfaa4ba1b26f4aabc59732 @wch wch committed Jun 28, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 DESCRIPTION
  2. +2 −1 R/facet-null.r
View
@@ -21,7 +21,7 @@ Imports:
plyr (>= 1.0),
digest,
grid,
- gtable (>= 0.1.0.1),
+ gtable (>= 0.1.0.2),
reshape2,
scales (>= 0.2.1.1),
memoise,
View
@@ -60,7 +60,8 @@ facet_render.null <- function(facet, panel, coord, theme, geom_grobs) {
layout <- gtable_matrix("layout", all,
widths = unit.c(grobWidth(axis_v), unit(1, "null")),
heights = unit.c(unit(aspect_ratio, "null"), grobHeight(axis_h)),
- respect = respect, clip = c("off", "off", "on", "off")
+ respect = respect, clip = c("off", "off", "on", "off"),
+ z = matrix(c(3, 2, 1, 4), ncol = 2, byrow = TRUE)
)
layout$layout$name <- c("axis-l", "spacer", "panel", "axis-b")

0 comments on commit 2741063

Please sign in to comment.