Skip to content

Commit 6a5a169

Browse files
committed
Use a fixture for widget test axes
1 parent b3f61d1 commit 6a5a169

File tree

2 files changed

+69
-175
lines changed

2 files changed

+69
-175
lines changed

lib/matplotlib/testing/widgets.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ def get_ax():
1919
return ax
2020

2121

22+
def noop(*args, **kwargs):
23+
pass
24+
25+
2226
def mock_event(ax, button=1, xdata=0, ydata=0, key=None, step=1):
2327
r"""
2428
Create a mock event that can stand in for `.Event` and its subclasses.

0 commit comments

Comments
 (0)