Commit 9af9b5b
committed
In DraggableLegend, inherit DraggableBase.artist_picker.
... which is implemented to return self.ref_artist.contains(evt), and
DraggableLegend.ref_artist == self.legend, so all's good.
Can be checked by manually dragging a draggable legend:
```
plot([1, 2], label="foo"); legend().set_draggable(True)
```1 parent f4c25b2 commit 9af9b5b
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 73 | | |
77 | 74 | | |
78 | 75 | | |
| |||
0 commit comments