You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any time a facet label is drawn on the left, its contents are not clipped as they are in all other directions. I would submit a PR but am unsure why this is happening, because when they are drawn in facet-grid, the clip is set to "on", and the drawing of strips in facet wrap is complicated and involves two helper functions.
library(ggplot2)
#> Warning: package 'ggplot2' was built under R version 3.4.4test_data<-data.frame(
facet= c(
rep("a very very very very very long facet name", 10),
rep("another very very very very very long facet name", 10),
rep("a third very very very very very long facet name", 10)
),
x= runif(30),
y= runif(30)
)
p<- ggplot(test_data, aes(x, y)) + geom_point()
# plots that don't match the restp+ facet_grid(rows= vars(facet), switch="both")
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/
lockbot
locked and limited conversation to collaborators
Jul 18, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Any time a facet label is drawn on the left, its contents are not clipped as they are in all other directions. I would submit a PR but am unsure why this is happening, because when they are drawn in facet-grid, the clip is set to "on", and the drawing of strips in facet wrap is complicated and involves two helper functions.
Created on 2018-07-23 by the reprex
package (v0.2.0).
The text was updated successfully, but these errors were encountered: