We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c2e20f commit 30ba6feCopy full SHA for 30ba6fe
src/instamatic/microscope/components/stage.py
@@ -90,7 +90,7 @@ def set_a_with_speed(self, a: float, speed: int, wait: bool = False):
90
self.wait()
91
92
@contextmanager
93
- def rotation_speed(self, speed: Union[float, int]) -> Generator[None, None, None]:
+ def rotation_speed(self, speed: Number) -> Generator[None, None, None]:
94
"""Context manager that sets the rotation speed for the duration of the
95
`with` statement (JEOL, Tecnai only).
96
0 commit comments