Skip to content

Commit

Permalink
updates for 3.26 - scientific/categorical
Browse files Browse the repository at this point in the history
  • Loading branch information
cormullion committed Jul 21, 2024
1 parent db4e54e commit 93b7d43
Show file tree
Hide file tree
Showing 12 changed files with 2,519 additions and 302 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Changelog

## [v3.26.0] - forthcoming
## [v3.26.0] - 2024-07-21

### Added

- Pride palettes (https://github.com/ewenme/ghibli)
- ScientificColorSchemes v8.0 now includes Categorical palettes

### Removed

Expand Down
44 changes: 22 additions & 22 deletions data/cvd.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ loadcolorscheme(:tol_bright, [
colorant"#66CCEE",
colorant"#AA3377",
colorant"#BBBBBB"
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

loadcolorscheme(:tol_highcontrast, [
colorant"#004488",
colorant"#DDAA33",
colorant"#BB5566",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

loadcolorscheme(:tol_vibrant, [
colorant"#EE7733",
Expand All @@ -30,7 +30,7 @@ loadcolorscheme(:tol_vibrant, [
colorant"#CC3311",
colorant"#009988",
colorant"#BBBBBB",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

loadcolorscheme(:tol_muted, [
colorant"#332288",
Expand All @@ -42,7 +42,7 @@ loadcolorscheme(:tol_muted, [
colorant"#CC6677",
colorant"#882255",
colorant"#AA4499",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

loadcolorscheme(:tol_medcontrast, [
colorant"#6699CC",
Expand All @@ -51,7 +51,7 @@ loadcolorscheme(:tol_medcontrast, [
colorant"#994455",
colorant"#997700",
colorant"#EE99AA",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

loadcolorscheme(:tol_light, [
colorant"#77AADD",
Expand All @@ -63,7 +63,7 @@ loadcolorscheme(:tol_light, [
colorant"#BBCC33",
colorant"#AAAA00",
colorant"#DDDDDD"
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

loadcolorscheme(:tol_sunset, [
colorant"#364B9A",
Expand All @@ -77,7 +77,7 @@ loadcolorscheme(:tol_sunset, [
colorant"#F67E4B",
colorant"#DD3D2D",
colorant"#A50026",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

loadcolorscheme(:tol_BuRd, [
colorant"#2166AC",
Expand All @@ -89,7 +89,7 @@ loadcolorscheme(:tol_BuRd, [
colorant"#F4A582",
colorant"#D6604D",
colorant"#B2182B",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

colorschemes[:tol_bu_rd] = colorschemes[:tol_BuRd] # For compat.

Expand Down Expand Up @@ -125,7 +125,7 @@ loadcolorscheme(:tol_nightfall, [
colorant"#E94C1F",
colorant"#D11807",
colorant"#A01813"],
"cvd", "cvd friendly, color blind friendly")
"cvd", "cvd friendly, color blind friendly, Paul Tol")

loadcolorscheme(:tol_land_cover, [
colorant"#5566AA",
Expand All @@ -142,7 +142,7 @@ loadcolorscheme(:tol_land_cover, [
colorant"#FFDD44",
colorant"#FFEE88",
colorant"#BB0011",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

colorschemes[:ground_cover] = colorschemes[:tol_land_cover] # For compat.

Expand All @@ -156,7 +156,7 @@ loadcolorscheme(:tol_YlOrBr, [
colorant"#CC4C02",
colorant"#993404",
colorant"#662506",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

colorschemes[:tol_ylorbr] = colorschemes[:tol_YlOrBr]

Expand Down Expand Up @@ -184,7 +184,7 @@ loadcolorscheme(:tol_iridescent, [
colorant"#805770",
colorant"#684957",
colorant"#46353A",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

colorschemes[:Iridescent] = colorschemes[:tol_iridescent] # For compat.

Expand All @@ -200,7 +200,7 @@ loadcolorscheme(:tol_incandescent, [
colorant"#F94902",
colorant"#E40515",
colorant"#A80003"
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

loadcolorscheme(:tol_rainbow, [
colorant"#E8ECFB",
Expand Down Expand Up @@ -232,7 +232,7 @@ loadcolorscheme(:tol_rainbow, [
colorant"#A5170E",
colorant"#72190E",
colorant"#42150A",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Paul Tol")

#From Color Universal Design (CUD): https://jfly.uni-koeln.de/color/
loadcolorscheme(:okabe_ito, [
Expand All @@ -244,7 +244,7 @@ loadcolorscheme(:okabe_ito, [
colorant"#D55E00",
colorant"#CC79A7",
colorant"#000000"
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Color Universal Design (CUD): https://jfly.uni-koeln.de/color/")

# 8, 12, and 15 color palettes for deuteranopia color blindness
# Martin Krzywinski [email protected]
Expand All @@ -259,7 +259,7 @@ loadcolorscheme(:mk_8, [
colorant"#d55e00",
colorant"#e69f00",
colorant"#f0e442",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Martin Krzywinski")

loadcolorscheme(:mk_12, [
colorant"#9F0162",
Expand All @@ -274,7 +274,7 @@ loadcolorscheme(:mk_12, [
colorant"#E20134",
colorant"#FF6E3A",
colorant"#FFC33B",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Martin Krzywinski")

loadcolorscheme(:mk_15, [
colorant"#68023F",
Expand All @@ -292,7 +292,7 @@ loadcolorscheme(:mk_15, [
colorant"#F60239",
colorant"#00E307",
colorant"#FFDC3D",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Martin Krzywinski")

loadcolorscheme(:ibm_cvd, [
colorant"#648fff",
Expand All @@ -301,7 +301,7 @@ loadcolorscheme(:ibm_cvd, [
colorant"#fe6100",
colorant"#ffb000",
colorant"#000000",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, IBM")

# https://arxiv.org/pdf/2107.02270.pdf
# https://github.com/mpetroff/accessible-color-cycles
Expand All @@ -313,7 +313,7 @@ loadcolorscheme(:mpetroff_6, [
colorant"#964a8b",
colorant"#9c9ca1",
colorant"#7a21dd",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Matthew A. Petroff")

loadcolorscheme(:mpetroff_8, [
colorant"#1845fb",
Expand All @@ -324,7 +324,7 @@ loadcolorscheme(:mpetroff_8, [
colorant"#86c8dd",
colorant"#578dff",
colorant"#656364",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Matthew A. Petroff")

loadcolorscheme(:mpetroff_10, [
colorant"#3f90da",
Expand All @@ -337,4 +337,4 @@ loadcolorscheme(:mpetroff_10, [
colorant"#b9ac70",
colorant"#717581",
colorant"#92dadd",
], "cvd", "cvd friendly, color blind friendly")
], "cvd", "cvd friendly, color blind friendly, Matthew A. Petroff")
22 changes: 11 additions & 11 deletions data/feathers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ loadcolorscheme(:spotted_pardalote, [
colorant"#000100",
],
"Feathers",
"Theme derived from the Spotted Pardalote (Pardalotus punctatus)")
"bird, Spotted Pardalote (Pardalotus punctatus)")

loadcolorscheme(:plains_wanderer, [
colorant"#edd8c5",
Expand All @@ -23,7 +23,7 @@ loadcolorscheme(:plains_wanderer, [
colorant"#0d0403",
],
"Feathers",
"Theme derived from the Plains Wanderer (Pedionomus torquatus)")
"bird, Plains Wanderer (Pedionomus torquatus)")

loadcolorscheme(:bee_eater, [
colorant"#00346E",
Expand All @@ -35,7 +35,7 @@ loadcolorscheme(:bee_eater, [
colorant"#424D0C",
],
"Feathers",
"Theme derived from the Bee Eater (Merops ornatus)")
"bird, Bee Eater (Merops ornatus)")

loadcolorscheme(:rose_crowned_fruit_dove, [
colorant"#BD338F",
Expand All @@ -48,7 +48,7 @@ loadcolorscheme(:rose_crowned_fruit_dove, [
colorant"#014820",
],
"Feathers",
"Theme derived from the Rose-crowned Fruit Dove (Ptilinopus regina)")
"bird, Rose-crowned Fruit Dove (Ptilinopus regina)")

loadcolorscheme(:eastern_rosella, [
colorant"#cd3122",
Expand All @@ -60,7 +60,7 @@ loadcolorscheme(:eastern_rosella, [
colorant"#2f7ab9",
],
"Feathers",
"Theme derived from the Eastern Rosella (Platycercus eximius)")
"bird, Eastern Rosella (Platycercus eximius)")

loadcolorscheme(:oriole, [
colorant"#8a3223",
Expand All @@ -75,7 +75,7 @@ loadcolorscheme(:oriole, [
colorant"#4d4019",
],
"Feathers",
"Theme derived from the Oriole (Oriolus sagittatus)")
"bird, Oriole (Oriolus sagittatus)")

loadcolorscheme(:princess_parrot, [
colorant"#7090c9",
Expand All @@ -88,7 +88,7 @@ loadcolorscheme(:princess_parrot, [
colorant"#d683ad",
],
"Feathers",
"Theme derived from the Princess Parrot (Polytelis alexandrae)")
"bird, Princess Parrot (Polytelis alexandrae)")

loadcolorscheme(:superb_fairy_wren, [
colorant"#4F3321",
Expand All @@ -98,7 +98,7 @@ loadcolorscheme(:superb_fairy_wren, [
colorant"#020503",
],
"Feathers",
"Theme derived from the Superb Fairy Wren (Malurus cyaneus)")
"bird, Superb Fairy Wren (Malurus cyaneus)")

loadcolorscheme(:cassowary, [
colorant"#BDA14D",
Expand All @@ -111,7 +111,7 @@ loadcolorscheme(:cassowary, [
colorant"#09090C",
],
"Feathers",
"Theme derived from the Cassowary (Casuarius casuarius)")
"bird, Cassowary (Casuarius casuarius)")

loadcolorscheme(:yellow_robin, [
colorant"#E19E00",
Expand All @@ -123,7 +123,7 @@ loadcolorscheme(:yellow_robin, [
colorant"#201B1E",
],
"Feathers",
"Theme derived from the Yellow Robin (Eopsaltria australis)")
"bird, Yellow Robin (Eopsaltria australis)")

loadcolorscheme(:galah, [
colorant"#FFD2CF",
Expand All @@ -134,4 +134,4 @@ loadcolorscheme(:galah, [
colorant"#4C5766",
],
"Feathers",
"Theme derived from the Galah (Eolophus roseicapilla)")
"bird, Galah (Eolophus roseicapilla)")
2 changes: 1 addition & 1 deletion data/jcolors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ loadcolorscheme(:julialegacy, [
colorant"#d8645f", # red
colorant"#69ad57", # green
colorant"#ab7ac1", # purple
], "julia", "sequential")
], "julia", "sequential. The Julia logo was duo-tone (with both light and dark versions of the four colors) from 2010 up to 2019, release v1.2. Since then, only the darker colors are used.")

loadcolorscheme(:jblue, [
colorant"#d2e6ff",
Expand Down
2 changes: 1 addition & 1 deletion data/kindlmann.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1033,4 +1033,4 @@ loadcolorscheme(:kindlmann, [

],
"kindlmann",
"luminance matching, perceptual, rainbow")
"luminance matching, perceptual, rainbow, G. Kindlmann; E. Reinhard; S. Creem")
2 changes: 1 addition & 1 deletion data/nord.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ loadcolorscheme(:nord, [
RGB(0.91796875, 0.79296875, 0.54296875), # nord13
RGB(0.63671875, 0.7421875, 0.546875), # nord14
RGB(0.703125, 0.5546875, 0.67578125), # nord15
], "nord", "the Nord theme, Polar Night, Snow Storm, Frost, Aurora")
], "nord", "the Nord theme, Polar Night, Snow Storm, Frost, Aurora, www.nordtheme.com")
Loading

0 comments on commit 93b7d43

Please sign in to comment.