修复了<呼吸可用性及间期标注>中无法重置尺度的问题

This commit is contained in:
Yorusora
2025-06-08 14:56:33 +08:00
parent c6bd99cc74
commit 3dd61f4641

View File

@ -1121,7 +1121,7 @@ class MainWindow_resp_quality_label(QMainWindow):
Config["Filter"]["BandPassHigh"] = self.ui.doubleSpinBox_fillterMode_custom_high.value() Config["Filter"]["BandPassHigh"] = self.ui.doubleSpinBox_fillterMode_custom_high.value()
def toggle_home(self): def toggle_home(self):
if Config["CurrentPartNum"] is None: if Config["CurrentPartNum"] is not None:
self.ax1.autoscale(True) self.ax1.autoscale(True)
self.ax1.relim() self.ax1.relim()
self.ax1.autoscale_view() self.ax1.autoscale_view()