diff --git a/bioviz/biorbd_vtk.py b/bioviz/biorbd_vtk.py index c0695d8..5832e71 100644 --- a/bioviz/biorbd_vtk.py +++ b/bioviz/biorbd_vtk.py @@ -206,7 +206,7 @@ class _MarkerInternal: size: float color: tuple[float, float, float] opacity: float - actors: list[QVTKRenderWindowInteractor, ...] + actors: list[QVTKRenderWindowInteractor] class VtkModel(QtWidgets.QWidget): @@ -284,7 +284,7 @@ def __init__( actors=list(), ), } - self.markers_link_actors: list[QVTKRenderWindowInteractor, ...] = list() + self.markers_link_actors: list[QVTKRenderWindowInteractor] = list() self.contacts = Markers() self.contacts_size = contacts_size @@ -461,7 +461,7 @@ def update_markers(self, markers): self._update_markers(markers, "model") def update_experimental_markers( - self, markers, with_link: bool = True, virtual_to_experimental_markers_indices: list[int, ...] = None + self, markers, with_link: bool = True, virtual_to_experimental_markers_indices: list[int] = None ): """ Update position of the experimental markers on the screen (but do not repaint) @@ -1842,7 +1842,7 @@ def new_gravity_vector(self, segment_rt, gravity, length, normalization_ratio, v Parameters ---------- segment_rt : np.ndarray - homogeneous matrix in which coordinates are applied + homogenous matrix in which coordinates are applied gravity : np.ndarray gravity array with 3 application coordinates and 3 magnitude coordinates length : float