Skip to content

warn user when even.steps=FALSE is used with a discrete scale #3881

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 1 commit into from
Apr 30, 2020

Conversation

thomasp85
Copy link
Member

This PR addresses #3877 without providing a true fix. The even.steps = FALSE feature piggybacks on the guide_colourbar() rendering which does not work on discrete scales. A complete rewrite of the functionality would be needed which is not a priority before the guide rewrite.

This PR simply emits a warning about the feature not working for that particular case

@thomasp85 thomasp85 added this to the ggplot2 3.3.1 milestone Mar 10, 2020
@thomasp85 thomasp85 requested a review from clauswilke March 10, 2020 12:02
@thomasp85 thomasp85 merged commit 248e94c into tidyverse:master Apr 30, 2020
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.

2 participants