Skip to content

Commit 7b53a54

Browse files
authored
Merge pull request #34 from pythonhealthdatascience/dev
fix: image auto resize by streamlit
2 parents edde3de + ff15923 commit 7b53a54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Overview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# the treatment process diagram
4343
st.markdown(overview_2)
4444
with st.expander("View treatment process", expanded=False):
45-
st.image(PROCESS_IMG, width=800)
45+
st.image(PROCESS_IMG, width=None)
4646
st.markdown(INFO_2)
4747

4848
# Display info on using model to explore different scenarios

pages/0_🎱_Interactive_simulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
st.markdown(INFO_1)
131131
with st.expander("Model recap", expanded=False):
132132
st.markdown(INFO_2)
133-
st.image(PROCESS_IMG, width=800)
133+
st.image(PROCESS_IMG, width=None)
134134

135135
# Suggestion to vary parameters
136136
st.markdown(INFO_3)

0 commit comments

Comments
 (0)