hlnicholls commited on
Commit
bbb610c
·
1 Parent(s): 493e7cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -166,7 +166,12 @@ if len(gene_list) > 1:
166
  plotly_fig['layout']['height']=600
167
  plotly_fig['layout']['width']=500
168
  plotly_fig['layout']['xaxis'].update(zeroline=True, showline=True, ticklen=4, showgrid=False)
169
- plotly_fig['layout']['yaxis'].update(y=col_order) #dict(visible=True)
 
 
 
 
 
170
  plotly_fig.add_trace(colorbar_trace)
171
  plotly_fig.layout.update(
172
  annotations=[dict(
 
166
  plotly_fig['layout']['height']=600
167
  plotly_fig['layout']['width']=500
168
  plotly_fig['layout']['xaxis'].update(zeroline=True, showline=True, ticklen=4, showgrid=False)
169
+ plotly_fig['layout']['yaxis'].update(dict(visible=True))
170
+ plotly_fig.trace.update(dict(x=shap_values,
171
+ y=col_order
172
+ )
173
+ )
174
+
175
  plotly_fig.add_trace(colorbar_trace)
176
  plotly_fig.layout.update(
177
  annotations=[dict(