Spaces:
Runtime error
Runtime error
capitalized first letter on the donut chart legend
Browse files
app.py
CHANGED
@@ -155,7 +155,7 @@ def donut_chart_total() -> alt.Chart:
|
|
155 |
|
156 |
# Load your data
|
157 |
annotated_records = [annotation for annotation in annotations.values()]
|
158 |
-
languages = [language for language in annotations.keys()]
|
159 |
|
160 |
# Prepare data for the donut chart
|
161 |
source = pd.DataFrame(
|
|
|
155 |
|
156 |
# Load your data
|
157 |
annotated_records = [annotation for annotation in annotations.values()]
|
158 |
+
languages = [language.capitalize() for language in annotations.keys()]
|
159 |
|
160 |
# Prepare data for the donut chart
|
161 |
source = pd.DataFrame(
|