We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5c40d0 commit f6f921aCopy full SHA for f6f921a
R/plot-build.R
@@ -83,7 +83,7 @@ build_ggplot <- S7::method(ggplot_build, class_ggplot) <- function(plot, ...) {
83
data <- by_layer(function(l, d) l$map_statistic(d, plot), layers, data, "mapping stat to aesthetics")
84
85
# Make sure missing (but required) aesthetics are added
86
- plot@scales$add_missing(c("x", "y"), plot@plot_env)
+ scales$add_missing(c("x", "y"), plot@plot_env)
87
88
# Reparameterise geoms from (e.g.) y and width to ymin and ymax
89
data <- by_layer(function(l, d) l$compute_geom_1(d), layers, data, "setting up geom")
0 commit comments