Use proper IDS CD default palette and bump to v0.3.0
Thanks @Sascha!
Change-Id: If0ba7262141dbf0b257dbc3288a615bca4c70455
diff --git a/R/ggplot-theme.R b/R/ggplot-theme.R
index fb3176b..0f6aabe 100644
--- a/R/ggplot-theme.R
+++ b/R/ggplot-theme.R
@@ -90,7 +90,7 @@
#' @rdname scale_ids
#' @export
scale_colour_ids <- function(palette = "default", ...) {
- discrete_scale("colour", "ids", ids_pal(), ...)
+ discrete_scale("colour", "ids", ids_pal(palette=palette, ...))
}
#' @rdname scale_ids
@@ -104,5 +104,5 @@
#' @importFrom ggplot2 discrete_scale
#' @export
scale_fill_ids <- function(palette = "default", ...) {
- discrete_scale("fill", "ids", ids_pal(), ...)
+ discrete_scale("fill", "ids", ids_pal(palette=palette, ...))
}