Skip to content

Commit 46b6f23

Browse files
tacaswellmeeseeksmachine
authored andcommitted
Backport PR matplotlib#28157: Remove call to non-existent method _default_contains in Artist
1 parent 8b796c4 commit 46b6f23

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/matplotlib/artist.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -493,9 +493,6 @@ def contains(self, mouseevent):
493493
such as which points are contained in the pick radius. See the
494494
individual Artist subclasses for details.
495495
"""
496-
inside, info = self._default_contains(mouseevent)
497-
if inside is not None:
498-
return inside, info
499496
_log.warning("%r needs 'contains' method", self.__class__.__name__)
500497
return False, {}
501498

0 commit comments

Comments
 (0)