comment on html page

This commit is contained in:
2026-01-14 11:12:40 +05:30
parent d46c7c0936
commit e0541ff80c
2 changed files with 6 additions and 2 deletions

View File

@@ -27,12 +27,13 @@ def bar_chart():
plt.xlabel("Category")
plt.ylabel("Count")
return plot_to_base64()
# Pie chart
def pie_chart():
labels = ["Completed", "In Progress", "Pending"]
sizes = [65, 20, 15]
sizes = [55, 20, 25]
plt.figure()
plt.pie(sizes, labels=labels, autopct="%1.1f%%", startangle=140)