Skip to content

Commit

Permalink
pull in map styles
Browse files Browse the repository at this point in the history
  • Loading branch information
camdenblatchly committed Oct 11, 2023
1 parent e32e262 commit 0194066
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions R/theme.R
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,22 @@ theme_cori_map_presentation <- function(base_family = "Lato", base_size = 12) {
base_size = base_size
)

# Mapping styles

# Hide x and y text
ret$axis.text.x = ggplot2::element_blank()
ret$axis.text.y = ggplot2::element_blank()

# Hide ticks
ret$axis.ticks = ggplot2::element_blank()

# Remove background rectangle
ret$rect = ggplot2::element_blank()
ret$panel.grid.major = ggplot2::element_blank()

# Remove bottom line
ret$axis.line.x.bottom = ggplot2::element_blank()

# Increase font sizes for easier viewing in slide deck
ret$plot.title <- ggplot2::element_text(
size = 32,
Expand Down

0 comments on commit 0194066

Please sign in to comment.