Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ggscatterhist: y-axis marginal histogram has x-axis data. #85

Closed
J0PR opened this issue May 8, 2018 · 1 comment
Closed

ggscatterhist: y-axis marginal histogram has x-axis data. #85

J0PR opened this issue May 8, 2018 · 1 comment

Comments

@J0PR
Copy link

J0PR commented May 8, 2018

In ggscatterhist, the marginal histogram for the y-axis is the same as the x-axis; it has the x-axis data in fact. It can be easily fixed by replacing "xplot" with "yplot" on line 55.

yplot <- ggplot() + margin.params %>% .add_item(geomfunc = geomfunc,
data = data, x = xplot.x, y = xplot.y, alpha = 0.7) %>%

Best,
J

@kassambara
Copy link
Owner

This has been already fixed in the developmental version: 998f06c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants