Plot a hue and its complement at all values and chromas

complement_slice(hue.name, back.col = "white")

Arguments

hue.name

character string of the desired hue.

back.col

colour for the background

Value

ggplot object

Examples

complement_slice("5PB")
#> Warning: Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0.
#>  Please use `linewidth` instead.
#>  The deprecated feature was likely used in the munsell package.
#>   Please report the issue at <https://github.com/cwickham/munsell/issues>.
#> Warning: Removed 41 rows containing missing values or values outside the scale range
#> (`geom_text()`).

complement_slice("5R")
#> Warning: Removed 67 rows containing missing values or values outside the scale range
#> (`geom_text()`).

complement_slice("10G")
#> Warning: Removed 85 rows containing missing values or values outside the scale range
#> (`geom_text()`).