datacipen commited on
Commit
a2259d7
·
verified ·
1 Parent(s): b0d17c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1076,6 +1076,8 @@ def update_emploi(selectedData, array_value, theme):
1076
  customRepartition = selectedData['points'][0]['hovertext']
1077
  if isinstance(customRepartition, list):
1078
  customRepartition = " "
 
 
1079
  if type(selectedData['points'][0]['hovertext']) == str:
1080
  options.append(selectedData['points'][0]['hovertext'])
1081
  else:
 
1076
  customRepartition = selectedData['points'][0]['hovertext']
1077
  if isinstance(customRepartition, list):
1078
  customRepartition = " "
1079
+ else:
1080
+ customRepartition = "Département : " + customRepartition
1081
  if type(selectedData['points'][0]['hovertext']) == str:
1082
  options.append(selectedData['points'][0]['hovertext'])
1083
  else: