diff --git a/NEWS.md b/NEWS.md index 456a063..3c4c0a2 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,7 @@ # tricolore 1.2.3 * add startup message and citation information +* establish compatibility with ggplot2 3.3.4/3.3.5 (@hhmacedo, #13) # tricolore 1.2.2 diff --git a/R/tricolore.R b/R/tricolore.R index 5f85d98..0fcb546 100755 --- a/R/tricolore.R +++ b/R/tricolore.R @@ -722,8 +722,8 @@ BasicKey <- function(legend_surface, limits, brklab, show_center, center, lwd) { geom_polygon(aes_string(group = 'id', fill = 'rgb', color = 'rgb'), lwd = lwd) + geom_mask() + # rgb color input - scale_color_identity(guide = FALSE) + - scale_fill_identity(guide = FALSE) + + scale_color_identity(guide = "none") + + scale_fill_identity(guide = "none") + # theme theme_classic() + theme(tern.axis.title.L = element_text(hjust = 0.2, vjust = 1, angle = -60),