fix: update legend label in moodpies chart

Updated the property for setting the chart legend's label from `legend`
to `legend_label` in the `moodpies` function to align with the latest
library syntax. This change ensures compatibility with newer versions of
the visualization library, preventing potential issues with legend
rendering in mood statistics charts.
This commit is contained in:
Kumi 2024-03-24 16:29:27 +01:00
parent 71c34db6d8
commit 2b37030938
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -160,7 +160,7 @@ def moodpies(user):
end_angle=cumsum("angle"),
line_color="white",
fill_color="color",
legend="mood",
legend_label="mood",
source=weekly_data,
)