Skip to content

Commit 00ce6f1

Browse files
authored
Add files via upload
1 parent 0485579 commit 00ce6f1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

piechart.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import matplotlib.pyplot as plt
2+
3+
Tasks = [500,500,500]
4+
5+
labels = 'Python','Javascript','HTML'
6+
colors = ['lightskyblue','yellow','orange']
7+
explode = (0, 0.1, 0)
8+
plt.pie(Tasks, labels=labels, autopct='%1.1f%%', startangle=15, shadow = True, colors=colors, explode=explode)
9+
plt.title('Language')
10+
plt.axis('equal')
11+
plt.show()

0 commit comments

Comments
 (0)