prashant
commited on
Commit
·
6682efd
1
Parent(s):
397db2c
labels font size
Browse files- appStore/sdg_analysis.py +3 -1
appStore/sdg_analysis.py
CHANGED
@@ -128,7 +128,9 @@ def app():
|
|
128 |
# plot
|
129 |
fig, ax = plt.subplots()
|
130 |
ax.pie(x['count'], colors=colors, radius=2, center=(4, 4),
|
131 |
-
wedgeprops={"linewidth": 1, "edgecolor": "white"},
|
|
|
|
|
132 |
frame=False,labels =list(x.SDG),
|
133 |
labeldistance=1.2)
|
134 |
# fig.savefig('temp.png', bbox_inches='tight',dpi= 100)
|
|
|
128 |
# plot
|
129 |
fig, ax = plt.subplots()
|
130 |
ax.pie(x['count'], colors=colors, radius=2, center=(4, 4),
|
131 |
+
wedgeprops={"linewidth": 1, "edgecolor": "white"},
|
132 |
+
textprops={'fontsize': 14},
|
133 |
+
rotatelabels= True,
|
134 |
frame=False,labels =list(x.SDG),
|
135 |
labeldistance=1.2)
|
136 |
# fig.savefig('temp.png', bbox_inches='tight',dpi= 100)
|