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

Feature request: elements for other graphical primitives #6248

Open
teunbrand opened this issue Dec 17, 2024 · 0 comments · May be fixed by #6249
Open

Feature request: elements for other graphical primitives #6248

teunbrand opened this issue Dec 17, 2024 · 0 comments · May be fixed by #6249

Comments

@teunbrand
Copy link
Collaborator

The request here is to introduce theme elements that support drawing polygons and points.
There a no cases in ggplot2 itself where this is currently useful, but I think it might benefit the extension community.
Sharing a common definition of what a point or polygon theme element is like prevents mutually exclusive and confusing implementations.
Aside from constructors like element_polygon() and element_point(), I think it is also important to have a root theme element, like theme(point, polygon) that has sensible defaults.

@teunbrand teunbrand linked a pull request Dec 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant