TimWindecker commited on
Commit
5237e9c
·
verified ·
1 Parent(s): b02f370

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +4 -4
src/streamlit_app.py CHANGED
@@ -266,9 +266,9 @@ def create_bar_chart(df, view_type):
266
  legend=dict(
267
  orientation="h",
268
  x=0.5,
269
- y=0.95,
270
  xanchor="center",
271
- yanchor="bottom",
272
  borderwidth=0,
273
  itemclick="toggle",
274
  itemdoubleclick="toggleothers",
@@ -350,9 +350,9 @@ def create_bar_chart(df, view_type):
350
  legend=dict(
351
  orientation="h",
352
  x=0.5,
353
- y=0.95,
354
  xanchor="center",
355
- yanchor="bottom",
356
  borderwidth=0,
357
  itemclick="toggle",
358
  itemdoubleclick="toggleothers",
 
266
  legend=dict(
267
  orientation="h",
268
  x=0.5,
269
+ y=1,
270
  xanchor="center",
271
+ yanchor="top",
272
  borderwidth=0,
273
  itemclick="toggle",
274
  itemdoubleclick="toggleothers",
 
350
  legend=dict(
351
  orientation="h",
352
  x=0.5,
353
+ y=1,
354
  xanchor="center",
355
+ yanchor="top",
356
  borderwidth=0,
357
  itemclick="toggle",
358
  itemdoubleclick="toggleothers",