Untitled
unknown
plain_text
a year ago
361 B
3
Indexable
import matplotlib.pyplot as plt # Data for the pie chart periods = ['May-June', 'June-July'] consumption_amounts = [14300, 15200] # Create the pie chart plt.figure(figsize=(8, 6)) plt.pie(consumption_amounts, labels=periods, autopct='%1.1f%%', startangle=140, colors=['#ff9999','#66b3ff']) plt.title('Electricity Token Consumption (May-July 2024)') plt.show()
Editor is loading...
Leave a Comment