from matplotlib import pyplot as plt >>> x=[2,5] >>> y=[4,9] >>> plt.plot(x,y) >>> plt.savefig('D:\img.jpg'). 当然你也可以保存为PDF格式:.
確定! 回上一頁