Skip to content

Marginal plots don't reflect axis limits made using coordinate system (e.g., coord_cartesian()) #128

@crew102

Description

@crew102

As mentioned by @Futats in #75

library(ggplot2)
library(ggExtra)

p <- ggplot(mtcars) +
  geom_point(aes(wt, drat)) +
  coord_cartesian(xlim = c(4, 5.5))

ggMarginal(p)

Created on 2018-08-15 by the reprex package (v0.2.0).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions