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.
reverse
1 parent 1120b7f commit f8ff7b8Copy full SHA for f8ff7b8
R/coord-.R
@@ -159,11 +159,13 @@ Coord <- ggproto("Coord",
159
empty <- vapply(guides, inherits, logical(1), "GuideNone")
160
guide_params <- panel_params$guides$get_params(aesthetics)
161
aesthetics <- aesthetics[!empty]
162
+ # Guides are not subject to reverse logic
163
+ temp_params <- modify_list(panel_params, list(reverse = "none"))
164
165
guide_params[!empty] <- Map(
166
function(guide, guide_param, scale) {
167
guide_param <- guide$train(guide_param, scale)
- guide_param <- guide$transform(guide_param, self, panel_params)
168
+ guide_param <- guide$transform(guide_param, self, temp_params)
169
guide_param <- guide$get_layer_key(guide_param, layers)
170
guide_param
171
},
0 commit comments