Spaces:
Sleeping
Sleeping
Commit
·
28bf9df
1
Parent(s):
cb40cbd
Update app.py
Browse files
app.py
CHANGED
@@ -139,9 +139,7 @@ if len(gene_list) > 1:
|
|
139 |
plotly_fig['layout'] = {'xaxis': {'title': 'SHAP value (impact on model output)'}}
|
140 |
max_display=8
|
141 |
feature_names=df_shap.columns
|
142 |
-
|
143 |
-
feature_order = feature_order[-min(max_display, len(feature_order)):]
|
144 |
-
text = [feature_names[i] for i in feature_order]
|
145 |
text = iter(text)
|
146 |
for i in range(1, len(plotly_fig['data']), 2):
|
147 |
t = text.__next__()
|
|
|
139 |
plotly_fig['layout'] = {'xaxis': {'title': 'SHAP value (impact on model output)'}}
|
140 |
max_display=8
|
141 |
feature_names=df_shap.columns
|
142 |
+
text = [i for i in gene_list]
|
|
|
|
|
143 |
text = iter(text)
|
144 |
for i in range(1, len(plotly_fig['data']), 2):
|
145 |
t = text.__next__()
|