Skip to content

Commit

Permalink
Update warning message for shape overuse
Browse files Browse the repository at this point in the history
  • Loading branch information
Aehmlo committed Sep 26, 2024
1 parent 6e5e4c3 commit a80c01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pal-shape.r
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pal_shape <- function(solid = TRUE) {
if (n > 6) {
cli::cli_warn(c(
"The shape palette can deal with a maximum of 6 discrete values because more than 6 becomes difficult to discriminate",
i = "you have requested {n} values. Consider specifying shapes manually if you need that many have them."
i = "you have requested {n} values. Consider specifying shapes manually if you need that many of them."
))
}

Expand Down

0 comments on commit a80c01d

Please sign in to comment.