@@ -27,7 +27,7 @@ scale_x_binned <- function(name = waiver(), n.breaks = 10, nice.breaks = TRUE,
27
27
right = TRUE , show.limits = FALSE , trans = " identity" ,
28
28
guide = waiver(), position = " bottom" ) {
29
29
binned_scale(
30
- aesthetics = c( " x " , " xmin " , " xmax " , " xend " , " xintercept " , " xmin_final " , " xmax_final " , " xlower " , " xmiddle " , " xupper " ) ,
30
+ ggplot_global $ x_aes ,
31
31
scale_name = " position_b" , palette = identity , name = name , breaks = breaks ,
32
32
labels = labels , limits = limits , expand = expand , oob = oob , na.value = na.value ,
33
33
n.breaks = n.breaks , nice.breaks = nice.breaks , right = right , trans = trans ,
@@ -44,7 +44,7 @@ scale_y_binned <- function(name = waiver(), n.breaks = 10, nice.breaks = TRUE,
44
44
right = TRUE , show.limits = FALSE , trans = " identity" ,
45
45
guide = waiver(), position = " left" ) {
46
46
binned_scale(
47
- aesthetics = c( " y " , " ymin " , " ymax " , " yend " , " yintercept " , " ymin_final " , " ymax_final " , " lower " , " middle " , " upper " ) ,
47
+ ggplot_global $ y_aes ,
48
48
scale_name = " position_b" , palette = identity , name = name , breaks = breaks ,
49
49
labels = labels , limits = limits , expand = expand , oob = oob , na.value = na.value ,
50
50
n.breaks = n.breaks , nice.breaks = nice.breaks , right = right , trans = trans ,
0 commit comments