Skip to content

Conversation

jan-glx
Copy link
Contributor

@jan-glx jan-glx commented Oct 9, 2025

Adding continuous_scale to @Seealso of ?scale_color_continous allows to more easily discover potential parameters to supply in ... like transform or limits.

Adding `continuous_scale`  to @Seealso of ?scale_color_continous allows to more easily discover potential parameters to supply in `...`  like `transform` or `limits`.
Copy link
Collaborator

@teunbrand teunbrand left a 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.

Jan Gleixner added 2 commits October 9, 2025 17:12
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
@jan-glx
Copy link
Contributor Author

jan-glx commented Oct 9, 2025

In fb3d3a2 , I went one step further and added the links to the *_scale functions to the description of the ... parameter of the the scale_colour_* functions, following e.g. ?scale_alpha_continuous

Should I squash the commits?

Copy link
Collaborator

@teunbrand teunbrand left a 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

@teunbrand teunbrand merged commit 6e8ac77 into tidyverse:main Oct 10, 2025
13 checks passed
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