Yatheshr commited on
Commit
b2bacc0
·
verified ·
1 Parent(s): 174df3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,7 +39,8 @@ def analyze_investors(file):
39
 
40
  # Pie Chart
41
  #ax1.pie(cluster_counts, labels=cluster_counts.index, autopct='%1.1f%%', startangle=90)
42
- ax1.pie(sizes, labels=cluster_counts.index, autopct='%1.1f%%', startangle=90, wedgeprops={'width': 0.3})
 
43
  ax1.set_title('Fund Type Distribution')
44
  ax1.axis('equal')
45
 
 
39
 
40
  # Pie Chart
41
  #ax1.pie(cluster_counts, labels=cluster_counts.index, autopct='%1.1f%%', startangle=90)
42
+ # Donut Chart
43
+ ax1.pie(cluster_counts, labels=cluster_counts.index, autopct='%1.1f%%', startangle=90, wedgeprops={'width': 0.3})
44
  ax1.set_title('Fund Type Distribution')
45
  ax1.axis('equal')
46