waffle icon indicating copy to clipboard operation
waffle copied to clipboard

3rd color in 2 part waffles?!

Open cmfield opened this issue 5 years ago • 1 comments

When I create a waffle with only two parts, ie parts=c(10,12), the plot forces a 3rd color to exist to completely fill the grid, why would it do this??

cmfield avatar May 02 '19 12:05 cmfield

I was able to use a workaround where I did everything as you would to create a two-part waffle, but then specified the third color to be the same color as the background.

waffle(c("Label1"=2278, "Label2"=100), 
       rows=50, 
       size=1,
       colors=c("#969696", "pink", "white"))

image

brienna avatar Sep 28 '20 05:09 brienna