Compare commits
No commits in common. "7955b989b4e62f29d0cd8eaec66e72114bce30ff" and "4bf8f4003e60953734d527602c1e2ef61fb96fc7" have entirely different histories.
7955b989b4
...
4bf8f4003e
@ -237,9 +237,7 @@ def update_final_scores_hist(data):
|
||||
return [{}]
|
||||
|
||||
ranges = np.linspace(
|
||||
-0.5,
|
||||
assessment_scores.Bareme.max(),
|
||||
int(assessment_scores.Bareme.max() * 2 + 2),
|
||||
0, assessment_scores.Bareme.max(), int(assessment_scores.Bareme.max() * 2 + 1)
|
||||
)
|
||||
bins = pd.cut(assessment_scores["Note"], ranges)
|
||||
assessment_scores["Bin"] = bins
|
||||
@ -295,11 +293,11 @@ def update_competence_fig(data):
|
||||
pt.loc[(str(i), "", ""), :] = ""
|
||||
pt.sort_index(inplace=True)
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user