Skip to content

Commit 833d3a6

Browse files
committed
Legend x position to 1.05
1 parent 9f2b0b7 commit 833d3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/ggplotly.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ gg2list <- function(p){
496496
layout$margin$r <- 60
497497
}
498498
layout$legend <- list(bordercolor="transparent",
499-
x=1.04, y=1/2,
499+
x=1.05, y=1/2,
500500
xanchor="center", yanchor="top")
501501

502502
# Workaround for removing unnecessary legends.

0 commit comments

Comments
 (0)