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

Automate setup calls (canvas, coord-ratio, theme) #5

Open
marvinschmitt opened this issue Feb 12, 2022 · 0 comments
Open

Automate setup calls (canvas, coord-ratio, theme) #5

marvinschmitt opened this issue Feb 12, 2022 · 0 comments
Labels
feature New feature or request

Comments

@marvinschmitt
Copy link
Owner

The calls

<...>
coord_fixed(ratio=1, xlim=c(0, 1), ylim=c(0, 1))+
theme_void() +
geom_simplex_canvas() <...>

are standard and should be performed behind the call API of geom_simplex and stat_simplex_density by default.

It's currently not done because the calls shall not be repeated when both geom_simplex and stat_simplex_density are used. Therefore, we need a way to see the current elements of the ggplot plot within geom_simplex and stat_simplex_density.
Alternative: Introduce flags to indicate whether the setup calls have been made.

@marvinschmitt marvinschmitt added the feature New feature or request label Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant