set_map_theme: Set default map theme

View source: R/set_map_theme.R

set_map_themeR Documentation

Set default map theme

Description

Set a map theme using ggplot2::theme_set() and default for geom_label using ggplot2::update_geom_defaults(). Optionally hides axis text and labels.

Usage

set_map_theme(map_theme = NULL, show_axis = FALSE)

Arguments

map_theme

ggplot2 theme. Optional. Defaults to ggplot2::theme_minimal()

show_axis

Logical. If TRUE, keep theme axis formatting. If FALSE, hide the panel grid, axis title, and axis text.


elipousson/mapbaltimore documentation built on Nov. 11, 2024, 8:25 p.m.