Compare commits

..

No commits in common. "7955b989b4e62f29d0cd8eaec66e72114bce30ff" and "4bf8f4003e60953734d527602c1e2ef61fb96fc7" have entirely different histories.

View File

@ -237,9 +237,7 @@ def update_final_scores_hist(data):
return [{}] return [{}]
ranges = np.linspace( ranges = np.linspace(
-0.5, 0, assessment_scores.Bareme.max(), int(assessment_scores.Bareme.max() * 2 + 1)
assessment_scores.Bareme.max(),
int(assessment_scores.Bareme.max() * 2 + 2),
) )
bins = pd.cut(assessment_scores["Note"], ranges) bins = pd.cut(assessment_scores["Note"], ranges)
assessment_scores["Bin"] = bins assessment_scores["Bin"] = bins
@ -295,11 +293,11 @@ def update_competence_fig(data):
pt.loc[(str(i), "", ""), :] = "" pt.loc[(str(i), "", ""), :] = ""
pt.sort_index(inplace=True) pt.sort_index(inplace=True)
index = ( index = (
pt.index.get_level_values(0).map(str) pt.index.get_level_values(0)
+ ":" + ":"
+ pt.index.get_level_values(1).map(str) + pt.index.get_level_values(1)
+ " " + " "
+ pt.index.get_level_values(2).map(str) + pt.index.get_level_values(2)
) )
fig = go.Figure() fig = go.Figure()