Skip to content

Commit

Permalink
add ButterflyColors palettes
Browse files Browse the repository at this point in the history
close #136
  • Loading branch information
EmilHvitfeldt committed Jan 20, 2024
1 parent 025f664 commit 8e80c56
Show file tree
Hide file tree
Showing 13 changed files with 258 additions and 5 deletions.
7 changes: 7 additions & 0 deletions LICENSE.note
Original file line number Diff line number Diff line change
Expand Up @@ -468,3 +468,10 @@ vangogh palettes
By: Cheryl Isabella
License: MIT + file LICENSE
https://github.com/cherylisabella/vangogh/blob/main/LICENSE.md

---

ButterflyColors palettes
By: Gabriela Junqueira & Sofia Schirmer
License: GNU General Public License v3.0
https://github.com/junqueiragaabi/ButterflyColors/blob/master/LICENSE.md
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# paletteer (development version)

* 15 palettes have been added from vangogh package. (#133)
* 30 palettes have been added from ButterflyColors package. (#136)

# paletteer 1.5.0

Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ you need for a smooth transition of color:

![](man/figures/README-unnamed-chunk-4-1.png)<!-- -->

This package includes 2605 palettes from 69 different packages and
This package includes 2635 palettes from 70 different packages and
information about these can be found in the following data.frames:
`palettes_c_names`, `palettes_d_names` and `palettes_dynamic_names`.
Additionally this [github
Expand Down
1 change: 1 addition & 0 deletions data-raw/packages.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ paletteer_packages <- tibble::tribble(
"awtools", "awhstin/awtools", "0.2.1", FALSE, NA,
"basetheme", "karoliskoncevicius/basetheme", "0.1.3", TRUE, "0.1.3",
"beyonce", "dill/beyonce", "0.1", FALSE, NA,
"ButterflyColors", "junqueiragaabi/ButterflyColors", "0.0.0.9000", FALSE, NA,
"calecopal", "an-bui/calecopal", "0.1.0", FALSE, NA,
"cartography", "riatelab/cartography", "3.1.5", TRUE, "3.1.4",
"colorBlindness", NA, NA, TRUE, "0.1.9",
Expand Down
4 changes: 4 additions & 0 deletions data-raw/palettes_d.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ beyonce_pals <- setNames(
seq_along(beyonce::beyonce_palettes)
)

## ButterflyColors ------------------------------------------------------------------
ButterflyColors_pals <- ButterflyColors::butterfly_species

## calecopal ------------------------------------------------------------------
calecopal_pals <- calecopal::cal_palettes

Expand Down Expand Up @@ -472,6 +475,7 @@ palettes_d <- list(
awtools = awtools_pals,
basetheme = basetheme_pals,
beyonce = beyonce_pals,
ButterflyColors = ButterflyColors_pals,
calecopal = calecopal_pals,
colorBlindness = colorBlindness_pals,
colorblindr = colorblindr_pals,
Expand Down
30 changes: 30 additions & 0 deletions data-raw/palettes_d_names.R
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,36 @@ palettes_d_names <- tibble::tribble(
"beyonce", "X128", 6L, "qualitative", TRUE,
"beyonce", "X129", 6L, "qualitative", TRUE,
"beyonce", "X130", 5L, "qualitative", TRUE,
"ButterflyColors", "philaethria_dido", 5L, "qualitative", TRUE,
"ButterflyColors", "anteos_menippe", 5L, "qualitative", TRUE,
"ButterflyColors", "fountainea_ryphea", 5L, "qualitative", TRUE,
"ButterflyColors", "lycorea_hallia", 5L, "qualitative", TRUE,
"ButterflyColors", "morpho_helenor", 5L, "qualitative", TRUE,
"ButterflyColors", "archaeoprepona_demophon_thalpius", 5L, "qualitative", TRUE,
"ButterflyColors", "brassolis_sophorae", 5L, "qualitative", TRUE,
"ButterflyColors", "historis_acheronta", 5L, "qualitative", TRUE,
"ButterflyColors", "stalachtis_phlegia_susanna", 5L, "qualitative", TRUE,
"ButterflyColors", "battus_polydamas", 5L, "qualitative", TRUE,
"ButterflyColors", "anteos_clorinde", 5L, "qualitative", TRUE,
"ButterflyColors", "chorinea_licursis", 5L, "qualitative", TRUE,
"ButterflyColors", "danaus_eresimus", 5L, "qualitative", TRUE,
"ButterflyColors", "smyrna_blomfidiana", 5L, "qualitative", TRUE,
"ButterflyColors", "astraptes_fulgerator", 5L, "qualitative", TRUE,
"ButterflyColors", "hamadryas_feronia", 5L, "qualitative", TRUE,
"ButterflyColors", "pseudolycaena_marsyas", 5L, "qualitative", TRUE,
"ButterflyColors", "catagramma_pygas", 5L, "qualitative", TRUE,
"ButterflyColors", "heliconius_sara_apseudes", 5L, "qualitative", TRUE,
"ButterflyColors", "synargis_calyce", 5L, "qualitative", TRUE,
"ButterflyColors", "hamadryas_feronia", 5L, "qualitative", TRUE,
"ButterflyColors", "heliconius_erato_phyllis", 5L, "qualitative", TRUE,
"ButterflyColors", "hylephila_phyleus", 5L, "qualitative", TRUE,
"ButterflyColors", "danaus_erippus", 5L, "qualitative", TRUE,
"ButterflyColors", "danaus_gilippus", 5L, "qualitative", TRUE,
"ButterflyColors", "junonia_evarete", 5L, "qualitative", TRUE,
"ButterflyColors", "hemiargus_hanno", 5L, "qualitative", TRUE,
"ButterflyColors", "dynamine_postverta", 5L, "qualitative", TRUE,
"ButterflyColors", "parides_zacynthus_polymetus", 5L, "qualitative", TRUE,
"ButterflyColors", "marpesia_petreus", 5L, "qualitative", TRUE,
"calecopal", "sierra1", 6L, "qualitative", TRUE,
"calecopal", "sierra2", 6L, "qualitative", TRUE,
"calecopal", "chaparral1", 6L, "qualitative", TRUE,
Expand Down
Binary file modified data/paletteer_packages.rda
Binary file not shown.
Binary file modified data/palettes_d.rda
Binary file not shown.
Binary file modified data/palettes_d_names.rda
Binary file not shown.
4 changes: 2 additions & 2 deletions man/palettes_d.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/palettes_d_names.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8e80c56

Please sign in to comment.