simonduerr commited on
Commit
38bbfa2
1 Parent(s): 753ea40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -141,9 +141,7 @@ def update(inp):
141
  #ax.set_ylabel("predicted LDDT")
142
  #ax.set_xlabel("positions")
143
  #ax.set_title("pLDDT")
144
- fig = go.Figure(data=go.Scatter(x=np.arange(len(plddts)), y=plddts), hovertemplate =
145
- '<i>pLDDT</i>: $%{y:.2f}'+
146
- '<br><b>Residue index</b>: %{x}<br>')
147
  fig.update_layout(title="pLDDT",
148
  xaxis_title="Residue index",
149
  yaxis_title="pLDDT",
 
141
  #ax.set_ylabel("predicted LDDT")
142
  #ax.set_xlabel("positions")
143
  #ax.set_title("pLDDT")
144
+ fig = go.Figure(data=go.Scatter(x=np.arange(len(plddts)), y=plddts), hovertext = plddts, hoverinfo="text", showlegend=False)
 
 
145
  fig.update_layout(title="pLDDT",
146
  xaxis_title="Residue index",
147
  yaxis_title="pLDDT",