Spaces:
Sleeping
Sleeping
Commit
·
e23f72c
1
Parent(s):
f9141ae
Update app.py
Browse files
app.py
CHANGED
@@ -142,11 +142,11 @@ if len(gene_list) > 1:
|
|
142 |
feature_order = feature_order[-min(max_display, len(feature_order)):]
|
143 |
text = gene_list
|
144 |
text = iter(text)
|
145 |
-
for i in range(1, len(plotly_fig['
|
146 |
t = text.__next__()
|
147 |
-
plotly_fig['
|
148 |
-
plotly_fig['
|
149 |
-
plotly_fig['
|
150 |
colorbar_trace = go.Scatter(x=[None],
|
151 |
y=[None],
|
152 |
mode='markers',
|
|
|
142 |
feature_order = feature_order[-min(max_display, len(feature_order)):]
|
143 |
text = gene_list
|
144 |
text = iter(text)
|
145 |
+
for i in range(1, len(plotly_fig['data']), 2):
|
146 |
t = text.__next__()
|
147 |
+
plotly_fig['data'][i]['name'] = ''
|
148 |
+
plotly_fig['data'][i]['text'] = t
|
149 |
+
plotly_fig['data'][i]['hoverinfo'] = 'text'
|
150 |
colorbar_trace = go.Scatter(x=[None],
|
151 |
y=[None],
|
152 |
mode='markers',
|