Skip to content

Commit

Permalink
update theme for ggplot 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
z3tt committed Sep 4, 2019
1 parent e1feb76 commit ef99b6b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions theme/tidy_grey.R
Expand Up @@ -33,6 +33,12 @@ theme_custom <- function (base_size = 12, base_family = base)
axis.text.y.right = element_text(margin = margin(l = 0.8 * half_line/2), hjust = 0),
axis.ticks = element_line(colour = "grey85", size = 0.3),
axis.ticks.length = unit(half_line/2, "pt"),
axis.ticks.length.x = NULL,
axis.ticks.length.x.top = NULL,
axis.ticks.length.x.bottom = NULL,
axis.ticks.length.y = NULL,
axis.ticks.length.y.left = NULL,
axis.ticks.length.y.right = NULL,
axis.title.x = element_text(margin = unit(c(3.5, 0, 0, 0), "mm"), vjust = 1, size = base_size * 1.3, face = "bold"),
axis.title.x.top = element_text(margin = margin(b = half_line), vjust = 0),
axis.title.y = element_text(angle = 90, margin = unit(c(0, 3.5, 0, 0), "mm"), vjust = 1, size = base_size * 1.3, face = "bold"),
Expand Down

0 comments on commit ef99b6b

Please sign in to comment.