daattali / daattali/ggExtra

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

Open
#128 11 comments 4 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
R
Stars
393
Forks
47
PR merge metrics
No merged PRs in 30d

Description

As mentioned by @Futats in #75

``` r
library(ggplot2)
library(ggExtra)

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

ggMarginal(p)
```

![](https://i.imgur.com/TwJIHmH.png)

Created on 2018-08-15 by the [reprex package](http://reprex.tidyverse.org) (v0.2.0).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.