Skip to content

Add type checking to default discrete scales - #4470

Merged
thomasp85 merged 3 commits into
masterfrom
issue-4149-default-discrete
May 10, 2021
Merged

thomasp85 merged 3 commits into
masterfrom
issue-4149-default-discrete

Conversation

@thomasp85

Copy link
Copy Markdown
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
@thomasp85
thomasp85 deleted the issue-4149-default-discrete branch October 6, 2025 11:58
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