prashant
commited on
Commit
•
aee56b8
1
Parent(s):
d5e598b
pie chart size fix
Browse files- appStore/sdg_analysis.py +1 -1
appStore/sdg_analysis.py
CHANGED
@@ -126,7 +126,7 @@ def app():
|
|
126 |
colors = plt.get_cmap('Blues')(np.linspace(0.2, 0.7, len(x)))
|
127 |
# plot
|
128 |
fig, ax = plt.subplots()
|
129 |
-
ax.pie(x['count'], colors=colors, radius=
|
130 |
wedgeprops={"linewidth": 1, "edgecolor": "white"},
|
131 |
frame=False,labels =list(x.SDG_name))
|
132 |
# fig.savefig('temp.png', bbox_inches='tight',dpi= 100)
|
|
|
126 |
colors = plt.get_cmap('Blues')(np.linspace(0.2, 0.7, len(x)))
|
127 |
# plot
|
128 |
fig, ax = plt.subplots()
|
129 |
+
ax.pie(x['count'], colors=colors, radius=2, center=(4, 4),
|
130 |
wedgeprops={"linewidth": 1, "edgecolor": "white"},
|
131 |
frame=False,labels =list(x.SDG_name))
|
132 |
# fig.savefig('temp.png', bbox_inches='tight',dpi= 100)
|