teunbrand / ggchromatic

Colour and fill scales for 'ggplot2' using colour spaces.
https://teunbrand.github.io/ggchromatic/
Other
11 stars 1 forks source link

Easier channel limits #8

Closed teunbrand closed 3 years ago

teunbrand commented 3 years ago

To control the output of the individual channels. Now, you'd have to specify for example:

scale_colour_rgb(
  channel_limits = rgb_spec(c(0, 1), c(0.25, 0.75), c(0, 1))
)

It would be nicer if you could just do:

scale_colour_rgb(
  channel_limits = list(g = c(0.25, 0.75))
)