-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
scale_name property should be removed from Scale objects #1312
Comments
Is there a real issue or is it just a nicety? I cannot find anywhere in the code where this property is queried so there should be no problem in just removing it. On the other hand there doesn't seem to be an urgent need for the removal either as it is just a label... |
Mostly just a nicety as part of continuing to clean up the API so it's easier to understand |
It should really become the |
But this doesn't seem super important, so lets not worry about for this release |
Needs a little thought as type <- if (self$scale_name == "position_c") "continuous" else "discrete" |
I do, however, feel that |
One issue with simply removing this property is that the Scale objects will no longer have labels that indicate their subtype. For example, the brewer and grey scales are subtypes of color scales.
The text was updated successfully, but these errors were encountered: