Skip to content

Commit 35741fa

Browse files
committed
fix typing
1 parent 7c78f12 commit 35741fa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

plotpy/items/shape/range.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,9 @@ def set_range(self, _min: float, _max: float, dosignal: bool = True) -> None:
246246
if dosignal:
247247
self.plot().SIG_RANGE_CHANGED.emit(self, self._min, self._max)
248248

249-
def move_shape(self, old_pos: QC.QPointF, new_pos: QC.QPointF) -> None:
249+
def move_shape(
250+
self, old_pos: tuple[float, float], new_pos: tuple[float, float]
251+
) -> None:
250252
"""Translate the shape such that old_pos becomes new_pos in axis coordinates
251253
252254
Args:

0 commit comments

Comments
 (0)