Skip to content

Commit c9f276b

Browse files
committed
Extend list of x aesthetics
So that they are symmetric with y aesthetics. Needed for ggstance.
1 parent 338e82a commit c9f276b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# ggplot2 2.1.0.9000
2+
3+
* `x` and `y` scales are now symmetric regarding the list of
4+
aesthetics they accept: `xmin_final`, `xmax_final`, `xlower`,
5+
`xmiddle` and `xupper` are now valid `x` aesthetics.
6+
17
# ggplot2 2.1.0
28

39
## New features

R/scale-continuous.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ scale_x_continuous <- function(name = waiver(), breaks = waiver(),
8282
limits = NULL, expand = waiver(), oob = censor,
8383
na.value = NA_real_, trans = "identity") {
8484
sc <- continuous_scale(
85-
c("x", "xmin", "xmax", "xend", "xintercept"),
85+
c("x", "xmin", "xmax", "xend", "xintercept", "xmin_final", "xmax_final", "xlower", "xmiddle", "xupper"),
8686
"position_c", identity, name = name, breaks = breaks,
8787
minor_breaks = minor_breaks, labels = labels, limits = limits,
8888
expand = expand, oob = oob, na.value = na.value, trans = trans,

0 commit comments

Comments
 (0)