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

ridgeplot: can't set step to zero #28

Closed
ArtPoon opened this issue Oct 21, 2022 · 1 comment
Closed

ridgeplot: can't set step to zero #28

ArtPoon opened this issue Oct 21, 2022 · 1 comment

Comments

@ArtPoon
Copy link
Owner

ArtPoon commented Oct 21, 2022

Setting step to zero should cause all ridges to be plotted at the same level (relative to vertical axis). Instead we get an error:

Error in axis(side = 2, at = seq(step, n * step, step), labels = labels,  : 
  'at' and 'labels' lengths differ, 1 != 4
@ArtPoon
Copy link
Owner Author

ArtPoon commented Oct 21, 2022

It does work if we set yaxt='n'. Should make this automatic if user specifies step=0.

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