Overview

“No matter how many weapons you have, no matter how great your technology might be, the world cannot live without love!” —Castle in the Sky (1986)

。◕‿‿◕。 Sprinkle some Studio Ghibli palette magic over your plots 。◕‿‿◕。

Installation

Install the latest stable version on CRAN…

…or get the development version from GitHub.

Palettes

ghibli provides 9 different palettes with a light, medium and dark variant for each.

N.B. the palettes are also exposed in YAML format for easier porting to new libraries.

In the wild

ghibli provides relevant scales for use with ggplot2. It only suggests ggplot2 in order to stay lightweight, but if available you can use the scale_[colour|fill]_ghibli_[c|d]() functions:

library(ggplot2)

# ggplot stuff
ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +
  geom_jitter(size = 3) +
  theme_minimal() +
  # ghibli stuff
  scale_colour_ghibli_d("LaputaMedium", direction = -1)

Credits

This package was largely inspired by Karthik Ram’s wesanderson package.

The palettes themselves come from Movies in Color. Go check ’em.