Skip to content

Commit c0d8f10

Browse files
dkahlehadley
authored andcommitted
coord_map: print x-axis ticks on bottom (#1863)
1 parent 1709196 commit c0d8f10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/coord-map.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ CoordMap <- ggproto("CoordMap", Coord,
242242
pos <- self$transform(x_intercept, scale_details)
243243

244244
axes <- list(
245-
top = guide_axis(pos$x, scale_details$x.labels, "top", theme),
246-
bottom = guide_axis(pos$x, scale_details$x.labels, "bottom", theme)
245+
bottom = guide_axis(pos$x, scale_details$x.labels, "bottom", theme),
246+
top = guide_axis(pos$x, scale_details$x.labels, "top", theme)
247247
)
248248
axes[[which(arrange == "secondary")]] <- zeroGrob()
249249
axes

0 commit comments

Comments
 (0)