Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ def create_bar_chart(df, category):
|
|
79 |
margin=dict(l=20, r=20, t=20, b=20)
|
80 |
)
|
81 |
|
82 |
-
st.plotly_chart(fig, use_container_width=True)
|
83 |
|
84 |
|
85 |
def main():
|
@@ -149,7 +149,7 @@ def main():
|
|
149 |
)
|
150 |
|
151 |
# Full-width plot for the first category
|
152 |
-
create_bar_chart(df, score_columns[0]
|
153 |
|
154 |
# Next two plots in two columns
|
155 |
col1, col2 = st.columns(2)
|
|
|
79 |
margin=dict(l=20, r=20, t=20, b=20)
|
80 |
)
|
81 |
|
82 |
+
st.plotly_chart(fig, use_container_width=True, height=len(df)*15)
|
83 |
|
84 |
|
85 |
def main():
|
|
|
149 |
)
|
150 |
|
151 |
# Full-width plot for the first category
|
152 |
+
create_bar_chart(df, score_columns[0])
|
153 |
|
154 |
# Next two plots in two columns
|
155 |
col1, col2 = st.columns(2)
|