Skip to contents

Scales fill with a binned scale, and derives colour as a blended version of the resulting fill, via aes_blend().

Usage

scale_fill_blend_binned(..., blend = NULL)

Arguments

...

Additional arguments passed on to ggplot2::scale_fill_binned().

blend

A function that takes a colour vector and returns a blended colour vector.

Value

A list of ggplot2 components (a mapping and a scale) that can be added to a ggplot object.