Matplotlib is a comprehensive 2D plotting library for the Python programming language. It is widely used for creating static, animated, and interactive visualizations, making it a fundamental tool in data science, scientific research, and engineering

sdf

bar plot

Histogram

scatter Plot

image.png

a compression between all the plotted graph.

plt.plot(x,y,color = 'r',)

plt.pie(slices,labels = ['sleeping', 'phone', 'study', 'eat', 'play'],colors ['gold', 'b' ,'silver' ,'red' ,'g' ], startangle=90, explode=(0,0,0,0.6,0),shadow = True, autopct ='%1.2f%%')

plt.bar(x,y,label = 'AIML',width=5,color='g') plt.title('Bar Graph',color = 'g')

plt.scatter(x,y,color='g',marker='*',s=1000,linewidths=4)