ggplot2 make legend key fill transparent

前端 未结 5 2097
不知归路
不知归路 2021-02-07 03:27

I am trying to make the legend key fill for a ggplot transparent. I followed the instructions on one of Hadley\'s ggplot2 guides for changing the legend key fill, but for some

5条回答
  •  野的像风
    2021-02-07 04:03

    This answer seems to be the simplest solution, setting legend.key = element_blank() in the theme() definition.

提交回复
热议问题