这个错误是由于x和y的维度不匹配导致的。根据错误信息,x的维度为(5,),而y的维度为(4,)。这意味着你提供的x和y的数据点数量不一致。

你需要确保x和y具有相同的数据点数量,这样才能正确地绘制图形。请检查你的代码,确认x和y的数据是否正确,并且确保它们具有相同的数据点数量。

No artists with labels found to put in legend Note that artists whose label start with an underscore are ignored when legend is called with no argumentTraceback most recent call last File CUsersLeno

原文地址: http://www.cveoy.top/t/topic/iXXt 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录