Skip to content

Commit 30ba6fe

Browse files
Baharisstefsmeets
andauthored
Update src/instamatic/microscope/components/stage.py
Co-authored-by: Stef Smeets <stefsmeets@users.noreply.github.com>
1 parent 9c2e20f commit 30ba6fe

File tree

1 file changed

+1
-1
lines changed
  • src/instamatic/microscope/components

1 file changed

+1
-1
lines changed

src/instamatic/microscope/components/stage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def set_a_with_speed(self, a: float, speed: int, wait: bool = False):
9090
self.wait()
9191

9292
@contextmanager
93-
def rotation_speed(self, speed: Union[float, int]) -> Generator[None, None, None]:
93+
def rotation_speed(self, speed: Number) -> Generator[None, None, None]:
9494
"""Context manager that sets the rotation speed for the duration of the
9595
`with` statement (JEOL, Tecnai only).
9696

0 commit comments

Comments
 (0)