datacipen commited on
Commit
c047a07
·
verified ·
1 Parent(s): 2dbe072

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -778,7 +778,7 @@ app.layout = dmc.MantineProvider(
778
  )
779
  ],
780
  id="mantine-provider",
781
- forceColorScheme="light",
782
  theme={
783
  "primaryColor": "indigo",
784
  "fontFamily": "'Inter', sans-serif",
@@ -904,7 +904,9 @@ def create_repartition(array_value, selectedData, theme):
904
  }
905
  ],
906
  },font=dict(size=10),paper_bgcolor=paper_bgcolor,autosize=True,clickmode='event+select'
907
- )
 
 
908
 
909
  ######## Compétences professionnelles ########
910
  df_FT.dropna(subset=['qualitesProfessionnelles','formations','competences'], inplace=True)
 
778
  )
779
  ],
780
  id="mantine-provider",
781
+ forceColorScheme="dark",
782
  theme={
783
  "primaryColor": "indigo",
784
  "fontFamily": "'Inter', sans-serif",
 
904
  }
905
  ],
906
  },font=dict(size=10),paper_bgcolor=paper_bgcolor,autosize=True,clickmode='event+select'
907
+ ).add_annotation(x=0, y=0.85, xanchor='left', yanchor='bottom',
908
+ xref='paper', yref='paper', showarrow=False, align='left',
909
+ text='<br><b>{}</b>'.format(selectedData['points'][0]['y'][:-3]))
910
 
911
  ######## Compétences professionnelles ########
912
  df_FT.dropna(subset=['qualitesProfessionnelles','formations','competences'], inplace=True)