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

Labels are added to the wrong axis in vioplot 0.5.0 when horizontal=TRUE #20

Open
csoneson opened this issue Jan 12, 2025 · 0 comments
Open

Comments

@csoneson
Copy link

Hi,

I'm plotting a horizontal vioplot with the following example code:

set.seed(123L)
vioplot::vioplot(rnorm(100), rnorm(50, 1, 2), horizontal = TRUE)

With vioplot 0.4.0, I get the following plot:
vioplot_0 4 0

With vioplot 0.5.0, instead, I get this:
vioplot_0 5 0

In the second plot, the group labels are added to the x-axis instead of the y-axis, and the y-axis labels are gone. With horizontal=FALSE, the plots look as expected.

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