5 Introduction to Matplotlib

[] >>> plt.show()#Revealtheresultingplot. The result is shown in Figure 5.1a. Just as np is a standard alias for NumPy, plt is a standard alias for matplotlib.pyplot in the Python communit.y The call plt.plot(y) creates a gure and draws straight lines connecting the entries of y relative to the y-axis. ................
................