Skip to content

Commit 317ba0c

Browse files
authored
fix type annot (#987)
* fix type annot * fix in other places
1 parent baf7b16 commit 317ba0c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

fastplotlib/graphics/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def add_polygon_selector(
466466
467467
Parameters
468468
----------
469-
selection: List of positions, optional
469+
selection: list[tuple[float, float]], optional
470470
Initial points for the polygon. If not given or None, you'll start drawing the selection (clicking adds points to the polygon).
471471
472472
"""

fastplotlib/graphics/line.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def add_polygon_selector(
302302
303303
Parameters
304304
----------
305-
selection: List of positions, optional
305+
selection: list[tuple[float, float]], optional
306306
Initial points for the polygon. If not given or None, you'll start drawing the selection (clicking adds points to the polygon).
307307
"""
308308

fastplotlib/graphics/line_collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ def add_polygon_selector(
488488
489489
Parameters
490490
----------
491-
selection: List of positions, optional
491+
selection: list[tuple[float, float]], optional
492492
Initial points for the polygon. If not given or None, you'll start drawing the selection (clicking adds points to the polygon).
493493
"""
494494
bbox = self.world_object.get_world_bounding_box()

0 commit comments

Comments
 (0)