I have plots with all the same values in scale_color_manual
.
I want to avoid this and just call one time a function like this :
theme(manual_colors = c("#000000", "#111111"))
Is it possible ?
I think you can do this by masking scale_colour_discrete
:
scale_colour_discrete <- function(...) {
scale_colour_manual(...,values=c("#000000","#111111"))
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With