File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2943,7 +2943,7 @@ def disconnect_draggableannotations_motion_notifiers(self) -> None:
2943
2943
pass
2944
2944
2945
2945
def onclick(self, event:'MouseEvent') -> None:
2946
- self.aw.lcd1. setFocus() # we set the focus to the LCD1 on clicking the MPL canvas to (re-)gain focus while the event minieditor is open
2946
+ self.aw.setFocus() # we set the focus to the ApplicationWindow on clicking the MPL canvas to (re-)gain focus while the event minieditor is open
2947
2947
try:
2948
2948
if self.ax is None:
2949
2949
return
Original file line number Diff line number Diff line change @@ -326,7 +326,8 @@ def getDuty(self) -> Optional[float]:
326
326
if self .pidSemaphore .available () < 1 :
327
327
self .pidSemaphore .release (1 )
328
328
329
- def derivativeFilter (self ) -> LiveSosFilter :
329
+ @staticmethod
330
+ def derivativeFilter () -> LiveSosFilter :
330
331
return LiveSosFilter (
331
332
scipy .signal .iirfilter (1 , # order
332
333
Wn = 0.2 , # 0 < Wn < fs/2 (fs=1 -> fs/2=0.5)
You can’t perform that action at this time.
0 commit comments