-
Notifications
You must be signed in to change notification settings - Fork 100
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
[BUG] IndexError when plotting #211
Comments
Is this still the case on main, or just 1.0.0? I think I fixed this recently. If it's still happening, then yeh, I don't think it should even be a warning, it should just proceed as normal, without annotating any peaks since there aren't any. |
I tried from main too, and the same error was raised. |
Ahh, it looks like I fixed it somewhere in #205 then, as this seems to work now on that branch. Just to double check - this is what I ran:
Which (on Sidenote: if I remember right, fixing this ended up being cleaning up how |
I was wrong and this is fixed on main too! I was getting an unrelated error from using Since this is already fixed, I'll go ahead and close this. |
Ahh, okay cool that makes sense! I think the |
This issue is came up here. Whenever no peaks are found and
plot_peaks='line'
is passed to the plot method of a fm, an IndexError is raised. It may be useful turn this error into a warning?The text was updated successfully, but these errors were encountered: