在jupyter notebook中画图时没有出现图,加plt.show()也不好使。查询也没答案。运行代码时只显示下面信息 matplotlib.lines.Line2D object at 加一个地址 解决方案:重启试试