Skip to content

Commit 009b585

Browse files
maintain type stability on return value
Co-authored-by: Thomas A Caswell <[email protected]>
1 parent 4b84cbc commit 009b585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3014,7 +3014,7 @@ def _capture_events(ax):
30143014
axes = list(filter(_ax_filter, self.canvas.figure.get_axes()))
30153015

30163016
if len(axes) == 0:
3017-
return
3017+
return []
30183018

30193019
if self._nav_stack() is None:
30203020
self.push_current() # Set the home button to this view.

0 commit comments

Comments
 (0)