Skip to content

Commit ef50467

Browse files
committed
Set default SHAPECLASS to XRangeSelection in BaseCurveStatsTool
1 parent 79c3612 commit ef50467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotpy/tools/curve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class BaseCurveStatsTool(BaseCursorTool):
5656
ICON = "" # No icon by default, subclasses should set this
5757
SWITCH_TO_DEFAULT_TOOL = True
5858
LABELFUNCS: tuple[tuple[str, Callable[..., Any]], ...] | None = None
59-
SHAPECLASS: type[XRangeSelection | YRangeSelection] | None = None
59+
SHAPECLASS: type[XRangeSelection | YRangeSelection] = XRangeSelection
6060

6161
def __init__(
6262
self,

0 commit comments

Comments
 (0)