wesanderson

A Wes Anderson color palette for R

https://github.com/karthik/wesanderson

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    1 of 13 committers (7.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.6%) to scientific vocabulary

Keywords

color-palette data-visualization plot r wes-anderson-palettes
Last synced: 4 months ago · JSON representation

Repository

A Wes Anderson color palette for R

Basic Info
  • Host: GitHub
  • Owner: karthik
  • License: other
  • Language: R
  • Default Branch: master
  • Size: 3.26 MB
Statistics
  • Stars: 2,031
  • Watchers: 51
  • Forks: 149
  • Open Issues: 22
  • Releases: 2
Topics
color-palette data-visualization plot r wes-anderson-palettes
Created almost 12 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Funding License Codemeta

README.Rmd

---
output:
  md_document:
    variant: markdown_github
---



```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "figure/",
  fig.height = 1
)
```

# Wes Anderson Palettes

[![Build Status](https://travis-ci.org/karthik/wesanderson.png)](https://travis-ci.org/karthik/wesanderson)\
![CRAN Downloads](http://cranlogs.r-pkg.org/badges/wesanderson)

![](rushmore.jpg)

> I saved you from boring plots. What did you ever do? - Max Fischer (probably)

Tired of generic mass produced palettes for your plots? Short of adding an owl and dressing up your plot in a bowler hat, here's the most indie thing you can do to one. First round of palettes derived from the amazing Tumblr blog [Wes Anderson Palettes.](http://wesandersonpalettes.tumblr.com/)

## Installation

``` r
install.packages("wesanderson")
```

**Or the development version**

``` r
devtools::install_github("karthik/wesanderson")
```

## Usage

```{r, palettes_dummy}
library("wesanderson")

# See all palettes
names(wes_palettes)
```

## Palettes

### Bottle Rocket (1996)

```{r, bottlerocket1}
wes_palette("BottleRocket1")
wes_palette("BottleRocket2")
```

### Rushmore (1998)

```{r, rushmore}
wes_palette("Rushmore1")
```

### The Royal Tenenbaums (2001)

```{r, royal}
wes_palette("Royal1")
wes_palette("Royal2")
```

```{r, ggplot1, fig.height = 3}
library("ggplot2")
ggplot(mtcars, aes(factor(cyl), fill=factor(vs))) +  geom_bar() +
  scale_fill_manual(values = wes_palette("Royal1"))
```

### The Life Aquatic with Steve Zissou (2004)

```{r, lifeaquatic}
wes_palette("Zissou1")
```

```{r, volcano, fig.height = 3}
pal <- wes_palette("Zissou1", 21, type = "continuous")
image(volcano, col = pal)
```

```{r, zissou_heatmap, fig.height = 3}
pal <- wes_palette("Zissou1", 100, type = "continuous")
# heatmap is a local dataset
ggplot(heatmap, aes(x = X2, y = X1, fill = value)) +
  geom_tile() + 
  scale_fill_gradientn(colours = pal) + 
  scale_x_discrete(expand = c(0, 0)) +
  scale_y_discrete(expand = c(0, 0)) + 
  coord_equal() 
```

### The Darjeeling Limited (2007)

```{r, darjeeling}
wes_palette("Darjeeling1")
wes_palette("Darjeeling2")
```

### Hotel Chevalier (2007)

```{r, chevalier}
wes_palette("Chevalier1")
```

### Fantastic Mr. Fox (2009)

```{r, fantasticfox}
wes_palette("FantasticFox1")
```

### Moonrise Kingdom (2012)

```{r, moonrise}
wes_palette("Moonrise1")
wes_palette("Moonrise2")
wes_palette("Moonrise3")
```

### Castello Cavalcanti (2013)

```{r, castello}
wes_palette("Cavalcanti1")
```

### The Grand Budapest Hotel (2014)

```{r, grandbudapest}
wes_palette("GrandBudapest1")
wes_palette("GrandBudapest2")
```

### The Isle of Dogs (2018)

```{r, isleofdogs}
wes_palette("IsleofDogs1")
wes_palette("IsleofDogs2")
```

### The French Distpatch (2021)

```{r}
wes_palette("FrenchDispatch")
```

### Asteroid City (2023)

```{r}
wes_palette("AsteroidCity1")
wes_palette("AsteroidCity2")
wes_palette("AsteroidCity3")
```

## As seen in these publications

-   [The environmental niche of the global high seas pelagic longline fleet](http://advances.sciencemag.org/content/4/8/eaat3681) Science Advances 08 Aug 2018

![Imgur](https://i.imgur.com/gYKFwEc.jpg)

![Imgur](https://i.imgur.com/3Ztc5Qa.png)

-   [Lopus, S., & Frye, M. (2018). Visualizing Africa's Educational Gender Gap. Socius: Sociological Research for a Dynamic World, 4, 237802311879595](http://journals.sagepub.com/doi/full/10.1177/2378023118795956)

![Imgur](https://i.imgur.com/0BVNi9g.jpg)

Owner

  • Name: Karthik Ram
  • Login: karthik
  • Kind: user
  • Location: Berkeley, CA
  • Company: @ucberkeley

Research associate professor at UC Berkeley

CodeMeta (codemeta.json)

{
  "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
  "@type": "SoftwareSourceCode",
  "identifier": "wesanderson",
  "description": "Palettes generated mostly from 'Wes Anderson' movies.",
  "name": "wesanderson: A Wes Anderson Palette Generator",
  "codeRepository": "https://github.com/karthik/wesanderson",
  "issueTracker": "https://github.com/karthik/wesanderson/issues",
  "license": "https://spdx.org/licenses/MIT",
  "version": "0.3.7",
  "programmingLanguage": {
    "@type": "ComputerLanguage",
    "name": "R",
    "url": "https://r-project.org"
  },
  "runtimePlatform": "R version 4.1.2 (2021-11-01)",
  "provider": {
    "@id": "https://cran.r-project.org",
    "@type": "Organization",
    "name": "Comprehensive R Archive Network (CRAN)",
    "url": "https://cran.r-project.org"
  },
  "author": [
    {
      "@type": "Person",
      "givenName": "Karthik",
      "familyName": "Ram",
      "email": "karthik.ram@gmail.com",
      "@id": "https://orcid.org/0000-0002-0233-1757"
    },
    {
      "@type": "Person",
      "givenName": "Hadley",
      "familyName": "Wickham",
      "email": "h.wickham@gmail.com"
    }
  ],
  "contributor": [
    {
      "@type": "Person",
      "givenName": "Clark",
      "familyName": "Richards",
      "email": "crichards@whoi.edu"
    },
    {
      "@type": "Person",
      "givenName": "Aaron",
      "familyName": "Baggett",
      "email": "aaronbaggett@gmail.com"
    }
  ],
  "maintainer": [
    {
      "@type": "Person",
      "givenName": "Karthik",
      "familyName": "Ram",
      "email": "karthik.ram@gmail.com",
      "@id": "https://orcid.org/0000-0002-0233-1757"
    }
  ],
  "softwareSuggestions": [
    {
      "@type": "SoftwareApplication",
      "identifier": "ggplot2",
      "name": "ggplot2",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ggplot2"
    }
  ],
  "softwareRequirements": {
    "1": {
      "@type": "SoftwareApplication",
      "identifier": "R",
      "name": "R",
      "version": ">= 3.0"
    },
    "SystemRequirements": null
  },
  "fileSize": "10.919KB",
  "readme": "https://github.com/karthik/wesanderson/blob/master/README.md",
  "contIntegration": "https://travis-ci.org/karthik/wesanderson",
  "keywords": [
    "plot",
    "wes-anderson-palettes",
    "r",
    "data-visualization",
    "color-palette"
  ]
}

GitHub Events

Total
  • Issues event: 2
  • Watch event: 111
  • Issue comment event: 1
  • Pull request event: 2
  • Fork event: 8
Last Year
  • Issues event: 2
  • Watch event: 111
  • Issue comment event: 1
  • Pull request event: 2
  • Fork event: 8

Committers

Last synced: 6 months ago

All Time
  • Total Commits: 129
  • Total Committers: 13
  • Avg Commits per committer: 9.923
  • Development Distribution Score (DDS): 0.333
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Karthik Ram k****m@g****m 86
hadley h****m@g****m 15
j_n t****i@g****m 7
atkin423 a****3@u****u 4
Aaron Baggett a****t@g****m 4
Rob Lisy r****y@g****m 3
Clark Richards c****s@g****m 3
TheSupremeToast p****2@g****m 2
michaelmhoffman m****n 1
mark padgham m****m@e****m 1
kristang k****d@g****m 1
Michael Hart m****u@g****m 1
Chris Kennedy c****n@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 28
  • Total pull requests: 26
  • Average time to close issues: 2 months
  • Average time to close pull requests: 4 months
  • Total issue authors: 24
  • Total pull request authors: 22
  • Average comments per issue: 1.57
  • Average comments per pull request: 1.19
  • Merged pull requests: 15
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 3
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 3
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • karthik (3)
  • mr2raccoon (2)
  • benmarwick (2)
  • sheinasim (1)
  • Heed725 (1)
  • ptdewey (1)
  • ThomasPepperz (1)
  • bryevdv (1)
  • misha-ash (1)
  • ndsubison2178 (1)
  • trashbirdecology (1)
  • richfitz (1)
  • ghost (1)
  • TheSupremeToast (1)
  • dlpd (1)
Pull Request Authors
  • Nowosad (3)
  • mpadge (2)
  • wfenglund (2)
  • hadley (2)
  • morgancdj (2)
  • jdonohue44 (2)
  • TheSupremeToast (1)
  • MichaelChirico (1)
  • imgbot[bot] (1)
  • ck37 (1)
  • mhart (1)
  • ThomasKAtkins (1)
  • karthik (1)
  • kristang (1)
  • roblisy (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • cran 8,657 last-month
  • Total docker downloads: 20,901
  • Total dependent packages: 24
    (may contain duplicates)
  • Total dependent repositories: 92
    (may contain duplicates)
  • Total versions: 6
  • Total maintainers: 1
cran.r-project.org: wesanderson

A Wes Anderson Palette Generator

  • Versions: 4
  • Dependent Packages: 23
  • Dependent Repositories: 87
  • Downloads: 8,657 Last month
  • Docker Downloads: 20,901
Rankings
Stargazers count: 0.1%
Forks count: 0.4%
Dependent repos count: 2.5%
Dependent packages count: 3.1%
Downloads: 3.4%
Average: 5.1%
Docker downloads count: 21.1%
Maintainers (1)
Last synced: 4 months ago
conda-forge.org: r-wesanderson
  • Versions: 2
  • Dependent Packages: 1
  • Dependent Repositories: 5
Rankings
Stargazers count: 9.7%
Dependent repos count: 14.8%
Forks count: 15.8%
Average: 17.3%
Dependent packages count: 29.0%
Last synced: 4 months ago