-
Notifications
You must be signed in to change notification settings - Fork 2.1k
in ?scale_color_continous, add link to ?continuous_scale #6691
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
Conversation
Adding `continuous_scale` to @Seealso of ?scale_color_continous allows to more easily discover potential parameters to supply in `...` like `transform` or `limits`.
teunbrand
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR!
Here are some additional things we could consider, but it'll be fine without them.
add scale_(color|fill)_discrete to @family color scales remove explit @Seealso links from ?scale_(color|fill)_(continous|binned) that are redundant due to links provided through @family add @Seealso links for discrete_scale continous_scale and binned_scales to scale_(fill|color)_(discrete|binned|continous) as appropiate
specifically, links to ?(discrete|continous|binned)_scale function in the description of the `...` parameter
|
In fb3d3a2 , I went one step further and added the links to the Should I squash the commits? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went one step further
I liked this direction and I've replaced the ... documentation with an @inheritsParam, which spells out all the arguments too for extra completeness. Thank you for the contribution!
Should I squash the commits?
We usually squash-merge, so there is no need to do this on the PR's end of things
* new colour scales feed first argument to `name` * add test * add news bullet * fix mismerged lines * account for interaction with #6691
Adding
continuous_scaleto @Seealso of ?scale_color_continous allows to more easily discover potential parameters to supply in...liketransformorlimits.