Skip to content

facet_zoom shading region #22

Description

@daniel-wells

The shading on the full data panel which indicates the axis range on the zoom panel doesn't fully cover the axis range actually used in the zoom panel.

df <- data.frame(weight = c(1.2, 2.5, 3.6, 4.0, 4.5), outcome = c(20, 2100, 200, 10, 2500))

ggplot(df, aes(weight, outcome)) +
  geom_point() +
  facet_zoom(y = outcome < 300)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions