Lab 5 Introduction to Matplotlib

The call plt.plot(y) creates a figure and draws straight lines connecting the entries of y relative to the y-axis. The x-axis is by default the index of the array, namely the integers from 0 to 10. Calling plt.show() then displays the figure. 1Like NumPy, Matplotlib is not part of the Python standard library, but it is included in most Python ... ................
................