Skip to content
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

Update 'domain' documentation #375

Merged
merged 2 commits into from
Nov 1, 2023
Merged

Update 'domain' documentation #375

merged 2 commits into from
Nov 1, 2023

Conversation

teunbrand
Copy link
Contributor

@teunbrand teunbrand commented Dec 12, 2022

This PR proposes an extra line of documentation for the 'domain' argument in trans_new().

Briefly, since ggplot2 3.4.0, breaks are computed on the expanded limits capped by the domain, which requires it to be transformable. This requirement has not been communicated very clearly, as encountered in tidyverse/ggplot2#5105, that this PR aims to amend.

If so desired (but not yet included in this PR), the transformability of the domain could also be tested in trans_new(), which could then emit a warning if the domain is untransformable.

@thomasp85
Copy link
Member

Can you update this as well?

@teunbrand
Copy link
Contributor Author

Done.

@thomasp85 thomasp85 merged commit 9453587 into r-lib:main Nov 1, 2023
11 of 12 checks passed
@teunbrand teunbrand deleted the domain_doc branch November 1, 2023 10:12
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