ggblend icon indicating copy to clipboard operation
ggblend copied to clipboard

Could key glyphs also demonstrate blending where applicable?

Open davidhodge931 opened this issue 1 year ago • 0 comments

This might be too difficult, but I was wondering if legend keys could also demonstrate blending where applicable? So geom_smooth is an example of where this would be useful

library(tidyverse)
library(palmerpenguins)
library(ggblend)

penguins |>
  drop_na() |>
  ggplot() +
  blend(geom_smooth(
    aes(
      x = flipper_length_mm,
      y = body_mass_g,
      colour = sex,
      fill = sex
    ),
    alpha = 1
  ), blend = "multiply")
image

davidhodge931 avatar Nov 29 '24 02:11 davidhodge931