Skip to content

Commit e50017b

Browse files
committed
omit 'inside' option in justification
1 parent f7a3f30 commit e50017b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

R/guides-.R

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -537,10 +537,9 @@ Guides <- ggproto(
537537
theme$legend.box <- theme$legend.box %||% direction
538538
theme$legend.direction <- theme$legend.direction %||% direction
539539
theme$legend.box.just <- theme$legend.box.just %||% switch(
540-
position,
541-
inside = c("center", "center"),
542-
left = , right = c("left", "top"),
543-
top = , bottom = c("center", "top")
540+
direction,
541+
vertical = c("left", "top"),
542+
horizontal = c("center", "top")
544543
)
545544

546545
# Measure guides

0 commit comments

Comments
 (0)