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

Independent placement of labels in coord_axes_inside() #173

Merged
merged 3 commits into from
Nov 16, 2024

Conversation

teunbrand
Copy link
Owner

This PR aims to fix #167.

devtools::load_all("~/packages/ggh4x/")
#> ℹ Loading ggh4x
#> Loading required package: ggplot2

dat <- expand.grid(
  id = letters[1:3],
  time = 1:50 * 2
) |> cbind(y = rnorm(150))

ggplot(dat, aes(x = time, y = y)) +
  geom_line() +
  facet_grid(cols = vars(id)) +
  coord_axes_inside(labels_inside = "x") +
  theme_classic()

Created on 2024-11-16 with reprex v2.1.1

@teunbrand teunbrand merged commit bf2a3f2 into main Nov 16, 2024
5 checks passed
@teunbrand teunbrand deleted the support_inside_labels_independently branch November 16, 2024 11:02
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.

Let labels_inside argument of coord_axes_inside() support "x", "y" independently?
1 participant