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

removing legend from the waffle chart #74

Open
am2222 opened this issue Feb 13, 2020 · 1 comment
Open

removing legend from the waffle chart #74

am2222 opened this issue Feb 13, 2020 · 1 comment

Comments

@am2222
Copy link

am2222 commented Feb 13, 2020

Hi,
Is there any method to remove legend from the chart?

@am2222 am2222 changed the title remove legend removing legend from the waffle chart Feb 14, 2020
@mevers
Copy link

mevers commented Jul 27, 2020

You can simply add theme(legend.position = "none"); here's a small reproducible example:

waffle(c(one = 1, two = 10, three = 4), rows = 3) + 
        theme(legend.position = "none")

example

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