Add legend transparency to theme_transparent
... | ... |
@@ -93,6 +93,12 @@ theme_transparent <- function(...) { |
93 | 93 |
colour = NA), |
94 | 94 |
plot.background = element_rect( |
95 | 95 |
fill = "transparent", |
96 |
+ colour = NA), |
|
97 |
+ legend.key = element_rect( |
|
98 |
+ fill = "transparent", |
|
99 |
+ colour = NA), |
|
100 |
+ legend.background = element_rect( |
|
101 |
+ fill = "transparent", |
|
96 | 102 |
colour = NA), ...) |
97 | 103 |
} |
98 | 104 |
|