优化了重置绘图的代码
This commit is contained in:
@ -239,7 +239,8 @@ class MainWindow_preprocess(QMainWindow):
|
||||
QApplication.processEvents()
|
||||
|
||||
# 清空画框
|
||||
self.ax0.clear()
|
||||
if self.ax0 is not None:
|
||||
self.ax0.clear()
|
||||
|
||||
# 释放资源
|
||||
del self.data
|
||||
|
||||
Reference in New Issue
Block a user