comment on html page
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user