theme_voteogram {voteogram}R 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()

[Package voteogram version 0.3.2 Index]