what is the use of matplotlib and pyplot?

months=['dec'.'jan'.'feb'.'mar'] atendence=[70907595] pli.plot(months.attendence) plt.show()

matplotlib. pyplot is a collection of command style functions that make matplotlib work like MATLAB. Each pyplot function makes some change to a figure: e.g., creates a figure, creates a plotting area in a figure, plots some lines in a plotting area, decorates the plot with labels, etc.