theme_facet: Simple theme for facet-ed ggplots

Description Usage Arguments Author(s)

View source: R/dataviz.R

Description

A minimal theme that puts the legend at the bottom and puts the facet labels into gray boxes. The border around those can be disabled.

Usage

1
2
3
4
5
6
7
theme_facet(
  base_size = 12,
  base_family = "",
  border = TRUE,
  clean_xaxis = FALSE,
  ...
)

Arguments

base_size

font size

base_family

font family

border

whether to add a border around facets

clean_xaxis

whether to remove ticks & labels from x-axis

...

additional parameters to pass to theme()

Author(s)

Mikhail Popov & Chelsy Xie


wikimedia/wikimedia-discovery-wmf documentation built on Feb. 7, 2021, 12:19 a.m.