Update src/streamlit_app.py
Browse files- src/streamlit_app.py +5 -6
src/streamlit_app.py
CHANGED
|
@@ -25,7 +25,6 @@ st.markdown("""
|
|
| 25 |
font-weight: 500;
|
| 26 |
margin-top: 1rem;
|
| 27 |
margin-bottom: 2rem;
|
| 28 |
-
color: #1e3a8a; /* Deep blue */
|
| 29 |
}
|
| 30 |
|
| 31 |
/* Links container */
|
|
@@ -38,13 +37,13 @@ st.markdown("""
|
|
| 38 |
.links-container a {
|
| 39 |
margin: 0 1rem;
|
| 40 |
text-decoration: none;
|
| 41 |
-
color: #3b82f6;
|
| 42 |
font-weight: 600;
|
| 43 |
transition: color 0.3s;
|
| 44 |
}
|
| 45 |
|
| 46 |
.links-container a:hover {
|
| 47 |
-
color: #1e3a8a;
|
| 48 |
}
|
| 49 |
|
| 50 |
/* Instructions styling */
|
|
@@ -146,7 +145,7 @@ def create_bar_chart(df, view_type):
|
|
| 146 |
x=df['Model'],
|
| 147 |
y=df['Total Score'],
|
| 148 |
orientation='v',
|
| 149 |
-
marker_color=px.colors.sequential.Blues_r
|
| 150 |
text=df['Total Score'].round(1),
|
| 151 |
textposition='outside',
|
| 152 |
)
|
|
@@ -168,7 +167,7 @@ def create_bar_chart(df, view_type):
|
|
| 168 |
x=df['Model'],
|
| 169 |
y=df[col],
|
| 170 |
orientation='v',
|
| 171 |
-
marker_color=px.colors.qualitative.Plotly
|
| 172 |
text=df[col].round(1),
|
| 173 |
textposition='outside',
|
| 174 |
))
|
|
@@ -190,7 +189,7 @@ def create_bar_chart(df, view_type):
|
|
| 190 |
x=df['Model'],
|
| 191 |
y=df[col],
|
| 192 |
orientation='v',
|
| 193 |
-
marker_color=px.colors.qualitative.Plotly
|
| 194 |
text=df[col].round(1),
|
| 195 |
textposition='outside',
|
| 196 |
))
|
|
|
|
| 25 |
font-weight: 500;
|
| 26 |
margin-top: 1rem;
|
| 27 |
margin-bottom: 2rem;
|
|
|
|
| 28 |
}
|
| 29 |
|
| 30 |
/* Links container */
|
|
|
|
| 37 |
.links-container a {
|
| 38 |
margin: 0 1rem;
|
| 39 |
text-decoration: none;
|
| 40 |
+
color: #3b82f6;
|
| 41 |
font-weight: 600;
|
| 42 |
transition: color 0.3s;
|
| 43 |
}
|
| 44 |
|
| 45 |
.links-container a:hover {
|
| 46 |
+
color: #1e3a8a;
|
| 47 |
}
|
| 48 |
|
| 49 |
/* Instructions styling */
|
|
|
|
| 145 |
x=df['Model'],
|
| 146 |
y=df['Total Score'],
|
| 147 |
orientation='v',
|
| 148 |
+
marker_color=px.colors.sequential.Blues_r,
|
| 149 |
text=df['Total Score'].round(1),
|
| 150 |
textposition='outside',
|
| 151 |
)
|
|
|
|
| 167 |
x=df['Model'],
|
| 168 |
y=df[col],
|
| 169 |
orientation='v',
|
| 170 |
+
marker_color=px.colors.qualitative.Plotly,
|
| 171 |
text=df[col].round(1),
|
| 172 |
textposition='outside',
|
| 173 |
))
|
|
|
|
| 189 |
x=df['Model'],
|
| 190 |
y=df[col],
|
| 191 |
orientation='v',
|
| 192 |
+
marker_color=px.colors.qualitative.Plotly,
|
| 193 |
text=df[col].round(1),
|
| 194 |
textposition='outside',
|
| 195 |
))
|