Skip to content
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

3rd color in 2 part waffles?! #59

Open
cmfield opened this issue May 2, 2019 · 1 comment
Open

3rd color in 2 part waffles?! #59

cmfield opened this issue May 2, 2019 · 1 comment

Comments

@cmfield
Copy link

cmfield commented May 2, 2019

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??

@brienna
Copy link

brienna commented Sep 28, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants