theme_voteogram: voteogram ggplot2 theme

View source: R/theme.r

theme_voteogramR Documentation

voteogram ggplot2 theme

Description

Provides a very basic theme with no background, grid, axis text or axis ticks and an easy way to turn the legend on or off.

Usage

theme_voteogram(legend = TRUE)

Arguments

legend

if 'FALSE' no legend is shown

Examples

## Not run: 
# what you'd normally do
sen <- roll_call("senate", 115, 1, 110)

## End(Not run)

# using a saved object
sen <- readRDS(system.file("extdata", "sen.rds", package="voteogram"))

senate_carto(sen) +
  theme_voteogram()

voteogram documentation built on March 31, 2023, 10:51 p.m.