ArtPoon/ggfree

ridgeplot: can't set step to zero

Closed this issue · 1 comments

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

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