Fix: concatenate index for competence plot

This commit is contained in:
Bertrand Benjamin 2021-01-17 22:21:58 +01:00
parent 4bf8f4003e
commit 4f14e3518c

View File

@ -293,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) pt.index.get_level_values(0).map(str)
+ ":" + ":"
+ pt.index.get_level_values(1) + pt.index.get_level_values(1).map(str)
+ " " + " "
+ pt.index.get_level_values(2) + pt.index.get_level_values(2).map(str)
) )
fig = go.Figure() fig = go.Figure()