ylim argument in plotAbundanceCurve has no effect
Issue #105
resolved
Despite that ylim
can be specified as an argument for plotAbundanceCurve
, it is never referenced inside the function call. As a result, ylim
cannot be adjusted customarily when calling plotAbundanceCurve
.
Proposed solution: add limits=ylim
to all scale_y_continuous
. E.g.:
scale_y_continuous(labels = scales::percent, limits=ylim)
Comments (2)
-
-
- changed status to resolved
- Log in to comment
Hi @Julian Zhou Thanks for reporting. I updated
plotAbundanceCurve
andplotDiversityCurve
to use the axis limits insidecoord_cartesian
to zoom without removing data.The figures on the left use
limits=ylim
, the ones on the rightcoord_cartesian
.