AttributeError: 'Window' object has no attribute 'plot_view'
时间: 2023-11-12 12:03:29 浏览: 141
AttributeError: 'Window' object has no attribute 'plot_view'是Python中的一个错误,意味着在Window对象中没有名为'plot_view'的属性。这通常是由于代码中的拼写错误或变量未被正确初始化所导致的。要解决这个问题,你需要检查代码中是否存在拼写错误,并确保变量被正确初始化。你还可以尝试使用dir()函数来查看对象中存在哪些属性。如果你仍然无法解决问题,可以考虑在相关的Python社区或论坛上寻求帮助。
相关问题
AttributeError: DeltaPID object has no attribute fit_and_plot
这个错误提示意味着你正在使用 DeltaPID 对象的 fit_and_plot 方法,但是该对象没有此方法。这通常是因为你的 DeltaPID 类没有定义 fit_and_plot 方法。
请确保你的 DeltaPID 类中定义了 fit_and_plot 方法,并且方法名拼写正确。如果你已经定义了该方法,请检查你的对象是否正确实例化,并且没有被修改或覆盖。
AttributeError: Trainer object has no attribute loss_items
AttributeError: 'Trainer' object has no attribute 'loss_items'是由于Trainer对象中没有名为loss_items的属性而导致的错误。要解决这个问题,需要检你的代码,确保在Trainer类中定义了loss_items属性或者在使用该属性之前进行了正确的初始化。如果你已经定义了loss_items属性,但仍然出现该错误,可能是因为你没有正确地引用该属性。请检查你的代码,并确保正确地使用了loss_items属性。
阅读全文
相关推荐

















