Skip to contents

Godfather Inspired Color Scales

Usage

scale_fill_godfather(...)

scale_color_godfather(...)

Arguments

...

Additional arguments to pass to ggplot2::scale_[fill/color]_gradient()

Value

a ggplot scale object

Examples

library(ggplot2)

ggplot(mpg) +
  geom_point(aes(y = class, x = hwy, color = cyl)) +
  labs(title="MPG by Vehicle Type",
       caption="Source: mpg",
       x = "City Mileage",
       color ="# Cylinders") +
  scale_color_godfather() +
  theme_godfather(godfather_font = TRUE)