Skip to content

Add type checking to default discrete scales #4470

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

Merged
merged 3 commits into from
May 10, 2021

Conversation

thomasp85
Copy link
Member

Fix #4149

This PR removes the inheritance across fill/colour defaults in discrete scales making it behave as continuous and binned scales. It further adds type checking to default functions

@thomasp85 thomasp85 added this to the ggplot2 3.3.4 milestone May 7, 2021
@thomasp85 thomasp85 requested a review from clauswilke May 7, 2021 08:22
@thomasp85 thomasp85 merged commit aafb06d into master May 10, 2021
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

Successfully merging this pull request may close these issues.

Setting options(ggplot2.discrete.fill) overrides for aes(colour) with bad colourmap
2 participants