Skip to content

Commit

Permalink
Update warning message for shape overuse (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aehmlo authored Oct 21, 2024
1 parent 88c4beb commit a7038fc
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 a7038fc

Please sign in to comment.