-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Only generate one warning about shapes #1674
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
Comments
In fact you'll get one warning for each layer + one for the legend ( ggplot(mpg, aes(x = displ, y = hwy, shape = class)) +
geom_point() +
geom_point() Maybe |
You want to use the memoise package or brew up some solution inside the ScaleDiscrete class? |
I think do something internal - i.e. have a field that stores the palette. But I'm not sure what happens if Let's chat about this on our call so I can make sure you have my vague thoughts on the problem before you start work on it. |
I think we need a |
Cache palette and n Add news bullet
Cache palette and n in ScaleDiscrete (#1674)
not two!
The text was updated successfully, but these errors were encountered: