Because, according to Financial Times Datavizard John Burn-Murdoch, "they look cool".
theme_tadaark( title.size = 16, text.size = 14, legend.position = "top", show.axis = FALSE, show.grid = TRUE, plot.margin = c(0.8, 0.4, 0.4, 0.8), font.base = "Roboto Condensed" )
title.size | title element size in pts. |
---|---|
text.size | text element size in pts. |
legend.position | either one of "none", "left", "right", "bottom", "top". |
show.axis | boolean or "x", "y"; should axis be drawn? Which?. |
show.grid | boolean; should grid lines be drawn?. |
plot.margin | margin around entire plot (unit with the sizes of the top, right, bottom, and left margins). |
font.base | The base font, defaulting to |
Using this function changes the default color for many geoms via
ggplot2::update_geom_defaults
, which, unfortunately, is rather complicated
to undo. One easy but blunt way is to restart your R session.
Use hrbrthemes::import_roboto_condensed()
to install Roboto Condensed.
https://twitter.com/jburnmurdoch/status/1231235675229491200