Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -47,9 +47,10 @@ def plot_interactive(uniprot_id):
|
|
47 |
" (%{z:.2f})",
|
48 |
])+'<extra></extra>'
|
49 |
)
|
50 |
-
|
51 |
return fig
|
52 |
|
53 |
uid = st.selectbox("uniprot_id:", uids)
|
54 |
-
|
55 |
-
|
|
|
|
47 |
" (%{z:.2f})",
|
48 |
])+'<extra></extra>'
|
49 |
)
|
50 |
+
|
51 |
return fig
|
52 |
|
53 |
uid = st.selectbox("uniprot_id:", uids)
|
54 |
+
fig = plot_interactive(uid)
|
55 |
+
fig.update_layout(width = 700, height = 700, autosize = False)
|
56 |
+
st.plotly_chart(fig, use_container_width=True)
|