Fix: missing category (0) in final_score plot
This commit is contained in:
parent
4f14e3518c
commit
7955b989b4
@ -237,7 +237,9 @@ def update_final_scores_hist(data):
|
||||
return [{}]
|
||||
|
||||
ranges = np.linspace(
|
||||
0, assessment_scores.Bareme.max(), int(assessment_scores.Bareme.max() * 2 + 1)
|
||||
-0.5,
|
||||
assessment_scores.Bareme.max(),
|
||||
int(assessment_scores.Bareme.max() * 2 + 2),
|
||||
)
|
||||
bins = pd.cut(assessment_scores["Note"], ranges)
|
||||
assessment_scores["Bin"] = bins
|
||||
|
Loading…
Reference in New Issue
Block a user