Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -3
src/streamlit_app.py
CHANGED
|
@@ -217,7 +217,7 @@ def create_bar_chart(df, view_type):
|
|
| 217 |
|
| 218 |
# Add annotations to show the exact score on each bar.
|
| 219 |
fig.update_traces(
|
| 220 |
-
texttemplate="%{y:.
|
| 221 |
textposition="outside"
|
| 222 |
)
|
| 223 |
|
|
@@ -295,7 +295,7 @@ def create_bar_chart(df, view_type):
|
|
| 295 |
|
| 296 |
# Add annotations to show the exact score on each bar.
|
| 297 |
fig.update_traces(
|
| 298 |
-
texttemplate="%{y:.
|
| 299 |
textposition="outside",
|
| 300 |
textangle=-90,
|
| 301 |
)
|
|
@@ -376,7 +376,7 @@ def create_bar_chart(df, view_type):
|
|
| 376 |
|
| 377 |
# Add annotations to show the exact score on each bar.
|
| 378 |
fig.update_traces(
|
| 379 |
-
texttemplate="%{y:.
|
| 380 |
textposition="outside",
|
| 381 |
textangle=-90,
|
| 382 |
)
|
|
|
|
| 217 |
|
| 218 |
# Add annotations to show the exact score on each bar.
|
| 219 |
fig.update_traces(
|
| 220 |
+
texttemplate="%{y:.0f}",
|
| 221 |
textposition="outside"
|
| 222 |
)
|
| 223 |
|
|
|
|
| 295 |
|
| 296 |
# Add annotations to show the exact score on each bar.
|
| 297 |
fig.update_traces(
|
| 298 |
+
texttemplate="%{y:.0f}",
|
| 299 |
textposition="outside",
|
| 300 |
textangle=-90,
|
| 301 |
)
|
|
|
|
| 376 |
|
| 377 |
# Add annotations to show the exact score on each bar.
|
| 378 |
fig.update_traces(
|
| 379 |
+
texttemplate="%{y:.0f}",
|
| 380 |
textposition="outside",
|
| 381 |
textangle=-90,
|
| 382 |
)
|