#範例2-1:繪圖(y)串列數據 import matplotlib.pyplot as plt plt.plot([1,2,3,4,5,6]) plt.show() #注意:繪圖不會顯示在console視窗,而是顯示在plots視窗