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 acbf747 commit 4dd4970Copy full SHA for 4dd4970
R/guides-.R
@@ -515,8 +515,7 @@ Guides <- ggproto(
515
# we grouped the legends by the positions, for inside legends, they'll be
516
# splitted by the actual inside coordinate
517
groups <- positions
518
- for (i in seq_along(positions)) {
519
- if (identical(positions[i], "inside")) {
+ for (i in seq_along(positions)[positions == "inside"]) {
520
# the actual inside position and justification can be set in each guide
521
# by `theme` argument, here, we won't use `calc_element()` which will
522
# use inherits from `legend.justification` or `legend.position`, we only
0 commit comments