Skip to content

Facet labels get cut off when rotated #1594

Open
@kojisposts

Description

@kojisposts

I suspect this is a similar issue to #1224 : when graphs are facetted vertically, and the facet labels rotated to be horizontal, the labels are cut off. (Where there is a legend, it overlaps; where there isn't, it's cut off entirely.)

p <- flights %>%
  ggplot(aes(y=origin, x=dest, colour=origin)) +
  geom_count() +
  facet_grid(name ~.) +
  theme(strip.text.y = element_text(angle = 0),
        legend.position = "none")
ggplotly(p)

スクリーンショット 2019-08-08 午後6 09 23
スクリーンショット 2019-08-08 午後6 09 45

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions