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

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +5 -2
src/streamlit_app.py CHANGED
@@ -253,13 +253,16 @@ def create_bar_chart(df, view_type):
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",
 
253
  legend=dict(
254
  orientation="h",
255
  x=0.5,
256
+ y=1,
257
  xanchor="center",
258
  yanchor="bottom",
259
  borderwidth=0,
260
  itemclick="toggle",
261
  itemdoubleclick="toggleothers",
262
+ title=dict(
263
+ text="<b>Embodiments</b>",
264
+ side="top center"
265
+ )
266
  ),
267
  uniformtext_minsize=10,
268
  uniformtext_mode="show",