Update src/streamlit_app.py
Browse files- src/streamlit_app.py +5 -6
src/streamlit_app.py
CHANGED
|
@@ -252,15 +252,14 @@ def create_bar_chart(df, view_type):
|
|
| 252 |
showlegend=True,
|
| 253 |
legend=dict(
|
| 254 |
orientation="h",
|
| 255 |
-
x=0,
|
| 256 |
-
y=1,
|
| 257 |
-
xanchor="
|
| 258 |
-
yanchor="
|
| 259 |
-
borderwidth=
|
| 260 |
itemclick="toggle",
|
| 261 |
itemdoubleclick="toggleothers",
|
| 262 |
title_text="<b>Embodiments</b>",
|
| 263 |
-
font=dict(size=15)
|
| 264 |
),
|
| 265 |
uniformtext_minsize=10,
|
| 266 |
uniformtext_mode="show",
|
|
|
|
| 252 |
showlegend=True,
|
| 253 |
legend=dict(
|
| 254 |
orientation="h",
|
| 255 |
+
x=0.5,
|
| 256 |
+
y=1.2,
|
| 257 |
+
xanchor="center",
|
| 258 |
+
yanchor="bottom",
|
| 259 |
+
borderwidth=0,
|
| 260 |
itemclick="toggle",
|
| 261 |
itemdoubleclick="toggleothers",
|
| 262 |
title_text="<b>Embodiments</b>",
|
|
|
|
| 263 |
),
|
| 264 |
uniformtext_minsize=10,
|
| 265 |
uniformtext_mode="show",
|