Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1074,9 +1074,7 @@ def update_emploi(selectedData, array_value, theme):
|
|
1074 |
options = []
|
1075 |
if selectedData != None:
|
1076 |
customRepartition = selectedData['points'][0]['hovertext']
|
1077 |
-
if customRepartition
|
1078 |
-
customRepartition = customRepartition
|
1079 |
-
else:
|
1080 |
customRepartition = " "
|
1081 |
if type(selectedData['points'][0]['hovertext']) == str:
|
1082 |
options.append(selectedData['points'][0]['hovertext'])
|
|
|
1074 |
options = []
|
1075 |
if selectedData != None:
|
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'])
|