Skip to content

Commit fc0debe

Browse files
committed
Strip text rotated opposite dir to axis text (derived themes)
Fixes #1263
1 parent d61071d commit fc0debe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/theme-defaults.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ theme_light <- function(base_size = 12, base_family = "") {
198198
),
199199
strip.text.y = element_text(
200200
colour = "white",
201-
angle = 90,
201+
angle = -90,
202202
margin = margin(l = half_line, r = half_line)
203203
)
204204
)
@@ -255,7 +255,7 @@ theme_dark <- function(base_size = 12, base_family = "") {
255255
),
256256
strip.text.y = element_text(
257257
colour = "white",
258-
angle = 90,
258+
angle = -90,
259259
margin = margin(l = half_line, r = half_line)
260260
)
261261
)

0 commit comments

Comments
 (0)