Skip to content

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

@csoneson

Description

@csoneson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions