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