-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
legend.key fill #29
Comments
I actually very much like the "radical" one. I will add this. This one is a bit tedious so I will probably do this tomorrow. I will follow up on this issue once it is done. Thanks for finding these flaws, Solomon! |
Glad to be of service. |
Update: To get it right, I think it might have to be this:
|
totally forgot to come back to this... @christopherkenny or @lukepilling, is this worth implementing? |
Seems like yes for Barbie. Would we need to check the other themes to make sure it didn't look "bad"? Or just implement the solution throughout? |
Idk that seems like a huge pain. Probably implementing it in Barbie would be fine for now. Unless you or Chris want to try to implement it across the board. I don't think it is necessary for now though |
FYI, we could clean this up if we have specific choices, but ggplot2 version 3.5.0 has this as a breaking change (which fixes the ugly greys)/ We can see how that looks below: Code to generate``` devtools::load_all() library(ggplot2) library(patchwork)list_fn <- function(prefix) { p <- lapply(list_fn('theme_'), function(fn) { ggsave(plot = p, filename = 'themes_test.pdf', width = 48, height = 36)
|
I think you're gonna want to adjust the
fill
setting for thelegend.key
fortheme_barbie()
. Here's an example of what currently happens:See the default gray background in the legend key? Here are two possible fixes:
The text was updated successfully, but these errors were encountered: