Python
import matplotlib.pyplot as plt

labels = ['Apples','Mohsin','Cherries','Dates']
size = [30,20,25,25]

plt.pie(sizes, labels=labels, autopct='%1.1f%%',startangle=140)
plt.title("Basic Pie Chart Example")
plt.show()
lol
import matplotlib.pyplot as plt

x=[1,2,3,4,5]
y=[2,3,5,7,11]

plt.plot(x,y,marker='0', colour='purple' ,linestyle='-')
plt.xlabel("X-axis")
plt.ylabel("Y-axis")
plt.title("Basic line chart")
plt.show()  what is wrong in that
what eror did i do explaint to a baby
import matplotlib.pyplot as plt

x=[1,2,3,4,5]
y=[2,3,5,7,11]

plt.plot(x,y,marker='o', colour='blue', linestyle='-')
plt.xlabel("Nahid gooner")
plt.ylabel("Mohsin hyd don")
plt.title("Ganesh is a king")
plt.show()    what error did i do huh
Are bhai pls help me in in pie chart python bro explain it to a baby
autopct='%1.1f%%', startangle=90 explain
bro does the value of steangle change and the autopct also cant cahnge rite
i dont even understand tho
i can change howerever its wants or follow how the examinator tells
but the answer will be correct rite
okay give me a question now
not bar pie i want
so the autopct and the strangle u kept it as u want huh or according to the ques u did
how did u get 180 thats the question
and ho did u get the value for autopct
import matplotlib.pyplot as plt

labels = ['Apples','Bananas','Cherries','Dates']
size = [30,20,25,25]

plt.pie(sizes, labels=labels, autopct='%1.1f%%',startangle=90)
plt.title("Basic Pie Chart Example")
plt.show() what error again