Closed flaneuse closed 3 years ago
ditch_the_axes <- theme( axis.text = element_blank(), axis.line = element_blank(), axis.ticks = element_blank(), panel.border = element_blank(), panel.grid = element_blank(), axis.title = element_blank() ) p <- ggplot() + geom_polygon(data = us_df, aes(x, y, group=group, fill=proportion), color="gray25", size=0.3) + scale_fill_gradient(low = "lemonchiffon", high = "lightseagreen", name = "Cumulative prevalence \nof B.1.1.7", labels = scales::percent) + ditch_the_axes + coord_fixed(1.05) show(p)
Suggest replacing ditch_the_axes with the in-built ggplot::theme_void() function
ditch_the_axes
ggplot::theme_void()
Suggest replacing
ditch_the_axes
with the in-builtggplot::theme_void()
function