import matplotlib.pyplot as plt
=[3,4,5,6,7,8,9,10,11,12]
x= [9,16,25,36,49,64,81,100,121,144]
y
plt.scatter(x,y) plt.show()
import matplotlib.pyplot as plt
=[3,4,5,6,7,8,9,10,11,12]
x= [9,16,25,36,49,64,81,100,121,144]
y
plt.plot(x,y) plt.show()
import matplotlib.pyplot as plt
=[4,9,16,25,36]
x= plt.figure(figsize =(9, 5)) # line 4
fig
plt.pie(x) plt.show()
import matplotlib.pyplot as plt
=[4,9,16,25,36]
x= plt.figure(figsize =(5.5, 5.5))
fig =("Guavas", "Berries","Mangoes","Apples", "Avocado"),
plt.pie(x, labels= ( "#a86544", "#eb5b13", "#ebc713", "#bdeb13", "#8aeb13"))
colors
plt.show()
=[4,9,16,25,36]
x2= plt.figure(figsize =(9, 5)) # line 4
fig2
plt.pie(x2) plt.show()