#!/usr/bin/env python
# coding: utf-8
# # Pie Charts using Matplotlib in Python
# In[2]:
#Pie Charts using Matplotlib in Python
import matplotlib.pyplot as pyplot
labels = ('Python', 'Java', 'Scala', 'C#')
sizes = [45, 30, 15, 10]
pyplot.pie(sizes,
labels=labels,
autopct='%1.f%%',
counterclock=False,
startangle=105)
# Display the figure
pyplot.show()
#clcoding.com
# In[ ]:
# In[ ]:
0 Comments:
Post a Comment