Skip to content

Commit d3d0a3c

Browse files
committed
Merge pull request #1372 from lionel-/fix-switched-label
Strip text rotated opposite dir to axis text (derived themes)
2 parents d61071d + fc0debe commit d3d0a3c

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)