Skip to content
Snippets Groups Projects
Commit bd8897fd authored by Cee Nell's avatar Cee Nell Committed by Azadpour, Elmera
Browse files

guides suggestion

parent 6f74614c
No related branches found
No related tags found
1 merge request!12Add disaggregated census data/maps
......@@ -32,7 +32,15 @@ plot_census_map <- function(census_data, conus_sf, pal, leg_title, outfile_path,
linetype = "solid") +
theme_void() +
theme(text = element_text(family = font_legend, size = font_size),
legend.margin = margin(r = 10))
legend.margin = margin(r = 10), legend.position = 'bottom') +
guides(fill = guide_colorbar(
title.position = "top",
title.theme = element_text(face = 'bold'),
direction = "horizontal",
position = "bottom",
barwidth = 20,
barheight = 1
)
if (percent_leg == FALSE) {
census_map <- census_map +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment