Skip to content

Commit

Permalink
add MexBrewer palettes
Browse files Browse the repository at this point in the history
close #137
  • Loading branch information
EmilHvitfeldt committed Jan 21, 2024
1 parent 4e20ed0 commit b3b0e30
Show file tree
Hide file tree
Showing 13 changed files with 229 additions and 5 deletions.
7 changes: 7 additions & 0 deletions LICENSE.note
Original file line number Diff line number Diff line change
Expand Up @@ -496,3 +496,10 @@ waRhol palettes
By: Alex Skeels
License: No license
https://github.com/alexskeels/waRhol/blob/master/DESCRIPTION

---

MexBrewer palettes
By: Antonio Páez
License: MIT + file LICENSE
https://github.com/paezha/MexBrewer/blob/master/LICENSE.md
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* 35 palettes have been added from MoMAColors package. (#142)
* 32 palettes have been added from PrettyCols package. (#126)
* 15 palettes have been added from waRhol package. (#131)
* 18 palettes have been added from MexBrewer package. (#137)

# paletteer 1.5.0

Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
3 changes: 2 additions & 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 2717 palettes from 73 different packages and
This package includes 2735 palettes from 74 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 Expand Up @@ -139,6 +139,7 @@ paletteer_c("nord::frost")
| Manu | [G-Thomson/Manu - 0.0.2](https://github.com/G-Thomson/Manu) | \- |
| MapPalettes | [disarm-platform/MapPalettes - 0.0.2](https://github.com/disarm-platform/MapPalettes) | \- |
| MetBrewer | [BlakeRMills/MetBrewer - 0.3.0](https://github.com/BlakeRMills/MetBrewer) | [0.2.0](https://CRAN.R-project.org/package=MetBrewer) |
| MexBrewer | [paezha/MexBrewer - 0.0.2](https://github.com/paezha/MexBrewer) | \- |
| MoMAColors | [BlakeRMills/MoMAColors - 0.0.0.9000](https://github.com/BlakeRMills/MoMAColors) | \- |
| NatParksPalettes | [kevinsblake/NatParksPalettes - 0.2.0](https://github.com/kevinsblake/NatParksPalettes) | [0.2.0](https://CRAN.R-project.org/package=NatParksPalettes) |
| NineteenEightyR | [m-clark/NineteenEightyR - 0.1.0](https://github.com/m-clark/NineteenEightyR) | \- |
Expand Down
1 change: 1 addition & 0 deletions data-raw/packages.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ paletteer_packages <- tibble::tribble(
"LaCroixColoR", "johannesbjork/LaCroixColoR", "0.1.0", FALSE, NA,
"lisa", "tyluRp/lisa", "0.1.2.9000", TRUE, "0.1.2",
"MetBrewer", "BlakeRMills/MetBrewer", "0.3.0", TRUE, "0.2.0",
"MexBrewer", "paezha/MexBrewer", "0.0.2", FALSE, "0.0.2",
"Manu", "G-Thomson/Manu", "0.0.2", FALSE, NA,
"MapPalettes", "disarm-platform/MapPalettes", "0.0.2", FALSE, NA,
"musculusColors", "dawnbarlow/musculusColors", "0.1.0", FALSE, NA,
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 @@ -260,6 +260,9 @@ MapPalettes_pals <- list(
## MetBrewer ------------------------------------------------------------------
MetBrewer_pals <- lapply(MetBrewer::MetPalettes, function(x) x[[1]])

## MexBrewer ------------------------------------------------------------------
MexBrewer_pals <- lapply(MexBrewer::MexPalettes, function(x) x[[1]])

## miscpalettes ---------------------------------------------------------------
miscpalettes_pals <- c(
miscpalettes::artistic,
Expand Down Expand Up @@ -520,6 +523,7 @@ palettes_d <- list(
Manu = Manu_pals,
MapPalettes = MapPalettes_pals,
MetBrewer = MetBrewer_pals,
MexBrewer = MexBrewer_pals,
miscpalettes = miscpalettes_pals,
MoMAColors = MoMAColors_pals,
musculusColors = musculusColors_pals,
Expand Down
18 changes: 18 additions & 0 deletions data-raw/palettes_d_names.R
Original file line number Diff line number Diff line change
Expand Up @@ -1133,6 +1133,24 @@ palettes_d_names <- tibble::tribble(
"MetBrewer", "VanGogh3", 8L, "qualitative", TRUE,
"MetBrewer", "Veronese", 7L, "qualitative", TRUE,
"MetBrewer", "Wissing", 5L, "qualitative", TRUE,
"MexBrewer", "Alacena", 10L, "divergent", TRUE,
"MexBrewer", "Atentado", 10L, "qualitative", TRUE,
"MexBrewer", "Aurora", 7L, "sequential", TRUE,
"MexBrewer", "Casita1", 5L, "qualitative", TRUE,
"MexBrewer", "Casita2", 5L, "qualitative", TRUE,
"MexBrewer", "Casita3", 5L, "qualitative", TRUE,
"MexBrewer", "Concha", 7L, "sequential", TRUE,
"MexBrewer", "Frida", 7L, "sequential", TRUE,
"MexBrewer", "Huida", 10L, "divergent", TRUE,
"MexBrewer", "Maiz", 10L, "divergent", TRUE,
"MexBrewer", "Naturaleza", 7L, "sequential", TRUE,
"MexBrewer", "Ofrenda", 10L, "divergent", TRUE,
"MexBrewer", "Revolucion", 10L, "divergent", TRUE,
"MexBrewer", "Ronda", 10L, "divergent", TRUE,
"MexBrewer", "Taurus1", 7L, "sequential", TRUE,
"MexBrewer", "Taurus2", 7L, "sequential", TRUE,
"MexBrewer", "Tierra", 7L, "sequential", TRUE,
"MexBrewer", "Vendedora", 10L, "divergent", TRUE,
"musculusColors", "Bmlunge", 6L, "qualitative", TRUE,
"musculusColors", "Bmsurface", 6L, "qualitative", TRUE,
"musculusColors", "Bmpoop", 5L, "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 b3b0e30

Please sign in to comment.