Update src/streamlit_app.py
Browse files- src/streamlit_app.py +0 -13
src/streamlit_app.py
CHANGED
|
@@ -287,12 +287,6 @@ def create_bar_chart(df, view_type):
|
|
| 287 |
|
| 288 |
# Remove the color legend from the chart.
|
| 289 |
fig.update_coloraxes(showscale=False)
|
| 290 |
-
|
| 291 |
-
# Add annotations to show the exact score on each bar.
|
| 292 |
-
fig.update_traces(
|
| 293 |
-
texttemplate="%{y:.0f}",
|
| 294 |
-
textposition="outside",
|
| 295 |
-
)
|
| 296 |
|
| 297 |
else: # Per Category
|
| 298 |
|
|
@@ -367,13 +361,6 @@ def create_bar_chart(df, view_type):
|
|
| 367 |
|
| 368 |
# Remove the color legend from the chart.
|
| 369 |
fig.update_coloraxes(showscale=False)
|
| 370 |
-
|
| 371 |
-
# Add annotations to show the exact score on each bar.
|
| 372 |
-
fig.update_traces(
|
| 373 |
-
texttemplate="%{y:.0f}",
|
| 374 |
-
textposition="outside",
|
| 375 |
-
textangle=-90,
|
| 376 |
-
)
|
| 377 |
|
| 378 |
return fig
|
| 379 |
|
|
|
|
| 287 |
|
| 288 |
# Remove the color legend from the chart.
|
| 289 |
fig.update_coloraxes(showscale=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 290 |
|
| 291 |
else: # Per Category
|
| 292 |
|
|
|
|
| 361 |
|
| 362 |
# Remove the color legend from the chart.
|
| 363 |
fig.update_coloraxes(showscale=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 364 |
|
| 365 |
return fig
|
| 366 |
|