TimWindecker commited on
Commit
4623c5b
·
verified ·
1 Parent(s): 3afc45c

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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="left",
258
- yanchor="top",
259
- borderwidth=1,
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",