Skip to content

Commit aa1231f

Browse files
committed
improved annotations
1 parent 3769b87 commit aa1231f

2 files changed

Lines changed: 139 additions & 75 deletions

File tree

plotpy/tools/curve.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,23 @@ def get_coordinates(self) -> tuple[float, float] | None:
319319

320320

321321
class SelectPointsTool(InteractiveTool):
322-
"""Curve points selection tool"""
322+
"""Curve points selection tool
323+
324+
Args:
325+
manager: PlotManager Instance
326+
mode: Selection mode. Defaults to "reuse".
327+
on_active_item: Wether to use the active item or not. Defaults to False.
328+
title: Tool name. Defaults to None.
329+
icon: Tool icon path. Defaults to None.
330+
tip: Available tip. Defaults to None.
331+
end_callback: Callback function taking a Self instance as argument that will
332+
be passed when the user stops dragging the point. Defaults to None.
333+
toolbar_id: Toolbar Id to use. Defaults to DefaultToolbarID.
334+
marker_style: Marker style. Defaults to None.
335+
switch_to_default_tool: Wether to use as the default tool or not.
336+
Defaults to None.
337+
max_select: Maximum number of points to select. Defaults to None.
338+
"""
323339

324340
TITLE = _("Multi-point selection")
325341
ICON = "multipoint_selection2.png"

0 commit comments

Comments
 (0)