Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

vapeplot

Build Status

An R extension of the Python package vapeplot's color palettes.

Available Palettes

show_palette()

Examples

ggplot(diamonds) +
  geom_point(aes(x = carat, y = price, color = cut), alpha = 0.7) +
  scale_color_vapeplot_d("mallsoft") +
  theme_classic()

ggplot(diamonds) +
  geom_bar(aes(x = cut, fill = clarity)) +
  scale_fill_vapeplot_d("seapunk") +
  theme_classic()

df <- data.frame(x = rnorm(500),
                 y = rgamma(500, shape = 5, rate = 0.1))
ggplot(df) +
    geom_point(aes(x, y, color = y)) +
    scale_color_vapeplot_c() +
    theme_classic()

Acknowledgements

Design of this package drew on inspiration from ggplot2::scale_*_viridis_c() and ggplot2::scale_*_viridis_d(), and the nordic package.

About

An R extension of the Python package 'vapeplot'

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.