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:
parent
71c34db6d8
commit
2b37030938
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ def moodpies(user):
|
||||||
end_angle=cumsum("angle"),
|
end_angle=cumsum("angle"),
|
||||||
line_color="white",
|
line_color="white",
|
||||||
fill_color="color",
|
fill_color="color",
|
||||||
legend="mood",
|
legend_label="mood",
|
||||||
source=weekly_data,
|
source=weekly_data,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue