-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
New statistic graphs: Diaper change intervals & feeding intervals #444
Conversation
Feeding intervals statistics works pretty good but there is an issue with the Diaper change intervals statistics as the entries is "left-aligned". Means the graph starts on the left but the entries do not match the date-value on the x-axis. Any help to fix this is much appreciated. |
@myxor are you still planning to move this PR forward? |
@cdubz right now i am not planning. I didn't found a solution for issue described in my previous comment yet and therefore i stopped working on this. Any help would me very much appreciated. |
@myxor I think I understand the problem. I think it occurs because the interval lists (intervals, intervals_solid, intervals_wet) will always be length of one shorter than the changes list. One approach might be to simply not pass the first item of changes when providing the x values to be plotted. In reports/graphs/diaperchange_intervals.py: I believe this statement occurs on line 40, line 49, and line 58. Please try that and let me know if that helps. |
|
Nice! Looks like this can also be reviewed in Codespaces now. After we merge #707 I'll take a look at this. |
Ok this branch seems out of whack after some bad changes in the last rebase. Not sure how to proceed with it 🤔 |
I can open a new PR with all the git changes sorted out. I still want to provide credit to @myxor for doing the majority of the contribution, but unless they merge in my change / do it themselves... I think it will be a co-author credit? |
@barakplasma OK -- and actually you could open it from your branch from @myxor's and they'd still get the commit credits, right? |
Changes moved to #710. |
New statistic graphs: Diaper change intervals & feeding intervals