Skip to content

Commit d68bb04

Browse files
authored
Merge pull request #16106 from anntzer/legendpick
In DraggableLegend, inherit DraggableBase.artist_picker.
2 parents 3752aec + 9af9b5b commit d68bb04

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/matplotlib/legend.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ def __init__(self, legend, use_blit=False, update="loc"):
7070
DraggableOffsetBox.__init__(self, legend, legend._legend_box,
7171
use_blit=use_blit)
7272

73-
def artist_picker(self, legend, evt):
74-
return self.legend.contains(evt)
75-
7673
def finalize_offset(self):
7774
update_method = cbook._check_getitem(
7875
{"loc": self._update_loc, "bbox": self._bbox_to_anchor},

0 commit comments

Comments
 (0)