Open bryce-carson opened 1 month ago
Throughout the plotting functions the Haxby colour pallet is hard-coded and duplicated, again, and again, and again.
Just use cptcity::cpt("jjg_misc_seminf_haxby", n = 30)
, where n
is the desired number of breaks or bins.
Throughout the plotting functions the Haxby colour pallet is hard-coded and duplicated, again, and again, and again.
Just use
cptcity::cpt("jjg_misc_seminf_haxby", n = 30)
, wheren
is the desired number of breaks or bins.
This is great!
options("terra.pal" = map.pal("haxby", length(cuts)))
cuts <- (NA, 0, ...)
All plotting functions that used the Semi-infinite Haxby colour pallete will now use a function in the cptcity package to acquire the palette on demand.