eliocamp / ggnewscale

Multiple Fill, Color and Other Scales in `ggplot2`
https://eliocamp.github.io/ggnewscale/
GNU General Public License v3.0
406 stars 18 forks source link

Possibility to remove individual guides #23

Closed Sumidu closed 4 years ago

Sumidu commented 4 years ago

Hi, I love your package. I use the second scale to draw a region based color-coded background. However, the values are not meaningful for the viewer. I would like to hide the guide for only one of the colors. Is this somehow possible?

Thanks so much for this package. :)

eliocamp commented 4 years ago

Yes! You can hide any guide by using guide = "none" inside the relevant scale_*() call.