Skip to content

Add trans field to ScaleContinuous #3664

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
Dec 13, 2019

Conversation

thomasp85
Copy link
Member

The ScaleContinuous implementation has never specified a trans field, despite its methods referencing the field. This has not really been a problem as it is always subclassed, but recent changes mean that it's print method will throw an error now.

This PR adds an identity trans object as it's trans field and makes the error go away

@thomasp85 thomasp85 added this to the ggplot2 3.3.0 milestone Dec 12, 2019
@thomasp85 thomasp85 requested a review from clauswilke December 12, 2019 09:56
@yutannihilation

This comment has been minimized.

@thomasp85 thomasp85 merged commit 010bffc into tidyverse:master Dec 13, 2019
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.

3 participants