Skip to content

Commit abec7ec

Browse files
committed
Refactor: Improve docstring for vertices parameter in polygon function
1 parent a05043b commit abec7ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

anyplotlib/widgets/_widgets2d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ class PolygonWidget(Widget):
100100
----------
101101
push_fn : Callable
102102
Update callback.
103-
vertices : list of (x, y) tuples
104-
Polygon vertices in pixel/data coordinates.
103+
vertices : list of tuple
104+
Polygon vertices ``[(x0, y0), (x1, y1), ...]`` in pixel/data coordinates.
105105
Must have at least 3 vertices.
106106
color : str, optional
107107
CSS colour for the polygon outline. Default ``"#00e5ff"``.

0 commit comments

Comments
 (0)