Skip to content

Commit

Permalink
colors changed
Browse files Browse the repository at this point in the history
  • Loading branch information
SanduniU committed Oct 18, 2023
1 parent b2201b9 commit 114c515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/image_processing/report/getPDF.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def getColorSpreads(img):

# Create a pie chart
fig, ax = plt.subplots()
ax.pie(color_percentages, labels=color_labels, autopct='%1.1f%%', startangle=90, colors=[tuple(color) for color in top_colors])
ax.pie(color_percentages, labels=color_labels, autopct='%1.1f%%', startangle=90, colors=['r','g','b'])
ax.axis('equal') # Equal aspect ratio ensures that pie is drawn as a circle.

plt.title('Top Color Percentages')
Expand Down

0 comments on commit 114c515

Please sign in to comment.