How to change facet header background based on value of panel

Related to Changing my facet labels to different colors (strip.background) - #2 by martin.R
except I want different colors on each panel.

Suggestions?

this stackover solution continues to work.

Another option is using grid 's editing functions, provided that we build the gPath of each grob that we want to edit.

I hope this could be helpful :slight_smile:

theme(strip.background=element_rect(colour="black", fill="#6B6B69", size = 1))

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.