Skip to content

Instantly share code, notes, and snippets.

Created Dec 16, 2020
What would you like to do?
states = df3.state_name
active =
colours = ["skyblue", "blue", "red", "yellow", "green"]
plt.pie(active, labels=states, autopct='%1.1f%%', colors=colours)
central_circle = plt.Circle((0, 0), 0.4, color='white')
fig = plt.gcf()
plt.rc('font', size=12)
plt.title("Top 5 Active cases", fontsize=20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment