Skip to content

Commit 3af043d

Browse files
test_deprecation_ selector_visible_attribute(ax) correction
1 parent 592b99a commit 3af043d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def test_rectangle_minspan(ax, spancoords, minspanx, x1, minspany, y1):
133133

134134

135135
def test_deprecation_selector_visible_attribute(ax):
136-
tool = widgets.RectangleSelector(ax, lambda *args: None)
136+
tool = widgets.RectangleSelector(ax, onselect=noop)
137137

138138
assert tool.get_visible()
139139

0 commit comments

Comments
 (0)