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

Fix sina plots #64

Closed
clauswilke opened this issue Nov 13, 2018 · 1 comment
Closed

Fix sina plots #64

clauswilke opened this issue Nov 13, 2018 · 1 comment

Comments

@clauswilke
Copy link
Owner

In the latest builds, sina plots have the wrong width. The simplest solution may be to write my own sina geom, based on geom_violin().

@clauswilke
Copy link
Owner Author

clauswilke commented Nov 13, 2018

Actually, the simplest approach is to take stat_ydensity() (https://github.com/tidyverse/ggplot2/blob/master/R/stat-ydensity.r) and rewrite it so it jitters points rather than returning an outline. Technically this should be written as a position adjustment rather than a stat, but writing the stat will be easier. Drawing can be done with geom_point().

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

1 participant