TimWindecker commited on
Commit
502a22b
·
verified ·
1 Parent(s): 530a1d0

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -3
src/streamlit_app.py CHANGED
@@ -164,14 +164,14 @@ def create_bar_chart(df, view_type):
164
  # Sort the results from best to worst
165
  df_fig = df_fig.sort_values(by="score", ascending=True)
166
 
167
- # Create the Plotly figure using Plotly Express, now plotting only the 'frechet' score.
168
  fig = px.bar(
169
  df_fig,
170
  x="Model",
171
  y="score",
172
  color="score",
173
  color_continuous_scale=px.colors.diverging.Fall,
174
- template="plotly_white",
175
  orientation="v",
176
  )
177
 
@@ -179,7 +179,7 @@ def create_bar_chart(df, view_type):
179
  xaxis_title_text="Model",
180
  yaxis_title_text="Score (Lower is better)",
181
  title_text="",
182
- font=dict(size=15, color='black'),
183
  xaxis_tickangle=-45,
184
  bargap=0.2, # Increase gap for slimmer bars
185
  height=500, # Set the height of the plot
 
164
  # Sort the results from best to worst
165
  df_fig = df_fig.sort_values(by="score", ascending=True)
166
 
167
+ # Create the Plotly figure
168
  fig = px.bar(
169
  df_fig,
170
  x="Model",
171
  y="score",
172
  color="score",
173
  color_continuous_scale=px.colors.diverging.Fall,
174
+ #TODO template="plotly_white",
175
  orientation="v",
176
  )
177
 
 
179
  xaxis_title_text="Model",
180
  yaxis_title_text="Score (Lower is better)",
181
  title_text="",
182
+ font=dict(size=15, color="#363636"),
183
  xaxis_tickangle=-45,
184
  bargap=0.2, # Increase gap for slimmer bars
185
  height=500, # Set the height of the plot