You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be a convenience if the legend key inherited from the panel background, to keep these in sync automatically.
To make this work as intended, the themes should probably omit the legend key definitions. These currently have a slightly different fill ("grey95") than the background ("grey92"), but I think the difference would be barely noticible to a human eye.
The text was updated successfully, but these errors were encountered:
teunbrand
changed the title
Should legend.key inherit from plot.background?
Should legend.key inherit from panel.background?
Nov 29, 2023
One thing I often forget when I change the panel background is to also change the legend key accordingly.
I'd like to propose that the following code:
Would produce the same plot as this:
Created on 2023-11-29 with reprex v2.0.2
It would be a convenience if the legend key inherited from the panel background, to keep these in sync automatically.
To make this work as intended, the themes should probably omit the legend key definitions. These currently have a slightly different fill (
"grey95"
) than the background ("grey92"
), but I think the difference would be barely noticible to a human eye.The text was updated successfully, but these errors were encountered: