Created
April 25, 2020 11:37
-
-
Save computer-tutor/cc062888ab06d65fbec602c23b995cb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import matplotlib.pyplot as plt | |
labels=['North', 'South', 'East','West','Central'] | |
sizes =[140, 160,140,180,110] | |
colors=['gold','yellowgreen','lightcoral','lightskyblue','pink'] | |
explode=(0.1,0,0,0,0) | |
plt.pie(sizes,explode=explode, | |
labels=labels,colors=colors,shadow=True, startangle=140, autopct='%1.1f%%') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment