练习matplotlib库,报错的日常运行遇到报错:AttributeError: 'Line2D' object has no property 'colors'已解决,并感觉自己是个憨憨检查代码后发现原代码“color”中多了个s,删除后运行正常。