You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should check for this case and set the ylim to a reasonable value such as c(-1,1). We already do this in plot.xts so we should do it in addSeries as well.
The text was updated successfully, but these errors were encountered:
- calling lines, points, or more generally addSeries with an xts
object of all 0s results in an invalid ylim of (0,0)
- this adds a check for a ylim of (0,0) and if true sets the ylim
to c(-1,1)
- see #164
Reproducible example
We should check for this case and set the ylim to a reasonable value such as c(-1,1). We already do this in
plot.xts
so we should do it inaddSeries
as well.The text was updated successfully, but these errors were encountered: