Skip to content

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #4984.

Briefly, it adds some details and an example to the documentation of ggplot_add().
I'm not sure the example for element_text() is the most appropriate one, but I'd be happy to swap out that example for a better one.

Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - only fear is that someone would want to have this behaviour for element_text()🤣

@teunbrand teunbrand merged commit 6d2ed6d into tidyverse:main Aug 26, 2024
@teunbrand teunbrand deleted the document_ggplot_add branch August 26, 2024 11:14
@teunbrand
Copy link
Collaborator Author

Well, now they know how to achieve it 😁

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.

Document how to use ggplot_add()

2 participants